mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(doc): doc stylistic changes (#1262)
- style tables properly - reduce pre font-size
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
:root {
|
||||
--border: #526980;
|
||||
--code: #007;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 5ex 10ex;
|
||||
max-width: 80ex;
|
||||
@ -18,18 +23,31 @@ pre {
|
||||
background: #eee;
|
||||
border: solid 1px #ddd;
|
||||
min-width: 0;
|
||||
font-size: 90%;
|
||||
font-size: 80%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
code {
|
||||
color: #007;
|
||||
color: var(--code);
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
thead {
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
tfoot {
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-left: 1rem;
|
||||
font-style: italic;
|
||||
|
@ -964,7 +964,6 @@ brew cask install platypus
|
||||
|
||||
3. Create a Platypus app with the following settings:
|
||||
|
||||
#+begin_example
|
||||
| Setting | Value |
|
||||
|--------------------------------+---------------------------|
|
||||
| App Name | "OrgProtocol" |
|
||||
@ -973,18 +972,15 @@ brew cask install platypus
|
||||
| Interface | None |
|
||||
| Accept dropped items | true |
|
||||
| Remain running after execution | false |
|
||||
#+end_example
|
||||
|
||||
|
||||
Inside ~Settings~:
|
||||
|
||||
#+begin_example
|
||||
| Setting | Value |
|
||||
|--------------------------------+----------------|
|
||||
| Accept dropped files | true |
|
||||
| Register as URI scheme handler | true |
|
||||
| Protocol | "org-protocol" |
|
||||
#+end_example
|
||||
|
||||
To disable the "confirm" prompt in Chrome, you can also make Chrome
|
||||
show a checkbox to tick, so that the ~OrgProtocol~ app will be used
|
||||
|
@ -1336,27 +1336,36 @@ Create a script @code{launch_emacs.sh}:
|
||||
Create a Platypus app with the following settings:
|
||||
@end itemize
|
||||
|
||||
@example
|
||||
| Setting | Value |
|
||||
|--------------------------------+---------------------------|
|
||||
| App Name | "OrgProtocol" |
|
||||
| Script Type | "env" · "/usr/bin/env" |
|
||||
| Script Path | "path/to/launch-emacs.sh" |
|
||||
| Interface | None |
|
||||
| Accept dropped items | true |
|
||||
| Remain running after execution | false |
|
||||
@end example
|
||||
@multitable {aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa} {aaaaaaaaaaaaaaaaaaaaaaaaa}
|
||||
@headitem Setting
|
||||
@tab Value
|
||||
@item App Name
|
||||
@tab ``OrgProtocol''
|
||||
@item Script Type
|
||||
@tab ``env'' · ``/usr/bin/env''
|
||||
@item Script Path
|
||||
@tab ``path/to/launch-emacs.sh''
|
||||
@item Interface
|
||||
@tab None
|
||||
@item Accept dropped items
|
||||
@tab true
|
||||
@item Remain running after execution
|
||||
@tab false
|
||||
@end multitable
|
||||
|
||||
|
||||
Inside @code{Settings}:
|
||||
|
||||
@example
|
||||
| Setting | Value |
|
||||
|--------------------------------+----------------|
|
||||
| Accept dropped files | true |
|
||||
| Register as URI scheme handler | true |
|
||||
| Protocol | "org-protocol" |
|
||||
@end example
|
||||
@multitable {aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa} {aaaaaaaaaaaaaa}
|
||||
@headitem Setting
|
||||
@tab Value
|
||||
@item Accept dropped files
|
||||
@tab true
|
||||
@item Register as URI scheme handler
|
||||
@tab true
|
||||
@item Protocol
|
||||
@tab ``org-protocol''
|
||||
@end multitable
|
||||
|
||||
To disable the ``confirm'' prompt in Chrome, you can also make Chrome
|
||||
show a checkbox to tick, so that the @code{OrgProtocol} app will be used
|
||||
|
Reference in New Issue
Block a user