mirror of
https://github.com/org-roam/org-roam
synced 2025-08-21 13:53:31 -05:00
Deploying to gh-pages from @ cfabe0ec38
🚀
This commit is contained in:
14
manual.html
14
manual.html
@@ -1273,7 +1273,7 @@ extension in your Org-roam capture templates. For example:
|
|||||||
</p>
|
</p>
|
||||||
<div class="lisp">
|
<div class="lisp">
|
||||||
<pre class="lisp">(setq org-roam-capture-templates '(("d" "default" plain "%?"
|
<pre class="lisp">(setq org-roam-capture-templates '(("d" "default" plain "%?"
|
||||||
:if-new (file+head "${slug}.org.gpg"
|
:target (file+head "${slug}.org.gpg"
|
||||||
"#+title: ${title}\n")
|
"#+title: ${title}\n")
|
||||||
:unnarrowed t)))
|
:unnarrowed t)))
|
||||||
</pre></div>
|
</pre></div>
|
||||||
@@ -1555,7 +1555,7 @@ of the template are similar to <code>org-capture</code> templates.
|
|||||||
</p>
|
</p>
|
||||||
<div class="lisp">
|
<div class="lisp">
|
||||||
<pre class="lisp">(("d" "default" plain "%?"
|
<pre class="lisp">(("d" "default" plain "%?"
|
||||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
|
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
|
||||||
"#+title: ${title}\n")
|
"#+title: ${title}\n")
|
||||||
:unnarrowed t))
|
:unnarrowed t))
|
||||||
</pre></div>
|
</pre></div>
|
||||||
@@ -1575,8 +1575,12 @@ here.
|
|||||||
</li><li> <code>"%?"</code> is the template inserted on each call to <code>org-roam-capture-</code>.
|
</li><li> <code>"%?"</code> is the template inserted on each call to <code>org-roam-capture-</code>.
|
||||||
This template means don’t insert any content, but place the cursor here.
|
This template means don’t insert any content, but place the cursor here.
|
||||||
|
|
||||||
</li><li> <code>:if-new</code> is a compulsory specification in the Org-roam capture template.
|
</li><li> <code>:target</code> is a compulsory specification in the Org-roam capture
|
||||||
This indicates the location for the new node.
|
template. The first element of the list indicates the type of the
|
||||||
|
target, the second element indicates the location of the captured
|
||||||
|
node, and the rest of the elements indicate prefilled template that
|
||||||
|
will be inserted and the position of the point will be adjusted for.
|
||||||
|
The latter behavior various from type to type of the capture target.
|
||||||
|
|
||||||
</li><li> <code>:unnarrowed t</code> tells org-capture to show the contents for the whole file,
|
</li><li> <code>:unnarrowed t</code> tells org-capture to show the contents for the whole file,
|
||||||
rather than narrowing to just the entry. This is part of the Org-capture
|
rather than narrowing to just the entry. This is part of the Org-capture
|
||||||
@@ -1785,7 +1789,7 @@ Next: <a href="#Usage" accesskey="n" rel="next">Usage</a>, Up: <a href="#Org_002
|
|||||||
(setq org-roam-dailies-capture-templates
|
(setq org-roam-dailies-capture-templates
|
||||||
'(("d" "default" entry
|
'(("d" "default" entry
|
||||||
"* %?"
|
"* %?"
|
||||||
:if-new (file+head "%<%Y-%m-%d>.org"
|
:target (file+head "%<%Y-%m-%d>.org"
|
||||||
"#+title: %<%Y-%m-%d>\n"))))
|
"#+title: %<%Y-%m-%d>\n"))))
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
|
||||||
|
14
org-roam.org
14
org-roam.org
@@ -698,7 +698,7 @@ extension in your Org-roam capture templates. For example:
|
|||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-roam-capture-templates '(("d" "default" plain "%?"
|
(setq org-roam-capture-templates '(("d" "default" plain "%?"
|
||||||
:if-new (file+head "${slug}.org.gpg"
|
:target (file+head "${slug}.org.gpg"
|
||||||
"#+title: ${title}\n")
|
"#+title: ${title}\n")
|
||||||
:unnarrowed t)))
|
:unnarrowed t)))
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -899,7 +899,7 @@ of the template are similar to ~org-capture~ templates.
|
|||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(("d" "default" plain "%?"
|
(("d" "default" plain "%?"
|
||||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
|
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
|
||||||
"#+title: ${title}\n")
|
"#+title: ${title}\n")
|
||||||
:unnarrowed t))
|
:unnarrowed t))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@@ -913,8 +913,12 @@ of the template are similar to ~org-capture~ templates.
|
|||||||
here.
|
here.
|
||||||
5. ~"%?"~ is the template inserted on each call to ~org-roam-capture-~.
|
5. ~"%?"~ is the template inserted on each call to ~org-roam-capture-~.
|
||||||
This template means don't insert any content, but place the cursor here.
|
This template means don't insert any content, but place the cursor here.
|
||||||
6. ~:if-new~ is a compulsory specification in the Org-roam capture template.
|
6. ~:target~ is a compulsory specification in the Org-roam capture template. The
|
||||||
This indicates the location for the new node.
|
first element of the list indicates the type of the target, the second
|
||||||
|
element indicates the location of the captured node, and the rest of the
|
||||||
|
elements indicate prefilled template that will be inserted and the position
|
||||||
|
of the point will be adjusted for. The latter behavior various from type to
|
||||||
|
type of the capture target.
|
||||||
7. ~:unnarrowed t~ tells org-capture to show the contents for the whole file,
|
7. ~:unnarrowed t~ tells org-capture to show the contents for the whole file,
|
||||||
rather than narrowing to just the entry. This is part of the Org-capture
|
rather than narrowing to just the entry. This is part of the Org-capture
|
||||||
templates.
|
templates.
|
||||||
@@ -1054,7 +1058,7 @@ Here is a sane default configuration:
|
|||||||
(setq org-roam-dailies-capture-templates
|
(setq org-roam-dailies-capture-templates
|
||||||
'(("d" "default" entry
|
'(("d" "default" entry
|
||||||
"* %?"
|
"* %?"
|
||||||
:if-new (file+head "%<%Y-%m-%d>.org"
|
:target (file+head "%<%Y-%m-%d>.org"
|
||||||
"#+title: %<%Y-%m-%d>\n"))))
|
"#+title: %<%Y-%m-%d>\n"))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@@ -1062,7 +1062,7 @@ extension in your Org-roam capture templates. For example:
|
|||||||
|
|
||||||
@lisp
|
@lisp
|
||||||
(setq org-roam-capture-templates '(("d" "default" plain "%?"
|
(setq org-roam-capture-templates '(("d" "default" plain "%?"
|
||||||
:if-new (file+head "$@{slug@}.org.gpg"
|
:target (file+head "$@{slug@}.org.gpg"
|
||||||
"#+title: $@{title@}\n")
|
"#+title: $@{title@}\n")
|
||||||
:unnarrowed t)))
|
:unnarrowed t)))
|
||||||
@end lisp
|
@end lisp
|
||||||
@@ -1305,7 +1305,7 @@ of the template are similar to @code{org-capture} templates.
|
|||||||
|
|
||||||
@lisp
|
@lisp
|
||||||
(("d" "default" plain "%?"
|
(("d" "default" plain "%?"
|
||||||
:if-new (file+head "%<%Y%m%d%H%M%S>-$@{slug@}.org"
|
:target (file+head "%<%Y%m%d%H%M%S>-$@{slug@}.org"
|
||||||
"#+title: $@{title@}\n")
|
"#+title: $@{title@}\n")
|
||||||
:unnarrowed t))
|
:unnarrowed t))
|
||||||
@end lisp
|
@end lisp
|
||||||
@@ -1331,8 +1331,12 @@ here.
|
|||||||
This template means don't insert any content, but place the cursor here.
|
This template means don't insert any content, but place the cursor here.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
@code{:if-new} is a compulsory specification in the Org-roam capture template.
|
@code{:target} is a compulsory specification in the Org-roam capture
|
||||||
This indicates the location for the new node.
|
template. The first element of the list indicates the type of the
|
||||||
|
target, the second element indicates the location of the captured
|
||||||
|
node, and the rest of the elements indicate prefilled template that
|
||||||
|
will be inserted and the position of the point will be adjusted for.
|
||||||
|
The latter behavior various from type to type of the capture target.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
@code{:unnarrowed t} tells org-capture to show the contents for the whole file,
|
@code{:unnarrowed t} tells org-capture to show the contents for the whole file,
|
||||||
@@ -1519,7 +1523,7 @@ Here is a sane default configuration:
|
|||||||
(setq org-roam-dailies-capture-templates
|
(setq org-roam-dailies-capture-templates
|
||||||
'(("d" "default" entry
|
'(("d" "default" entry
|
||||||
"* %?"
|
"* %?"
|
||||||
:if-new (file+head "%<%Y-%m-%d>.org"
|
:target (file+head "%<%Y-%m-%d>.org"
|
||||||
"#+title: %<%Y-%m-%d>\n"))))
|
"#+title: %<%Y-%m-%d>\n"))))
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user