-
Notifications
You must be signed in to change notification settings - Fork 9
capture templates
Bruce D'Arcus edited this page Jan 29, 2024
·
2 revisions
The default capture template creates a new file per bibligraphic note, purely with org-roam
compatibility in mind.
The following examples show other sorts of workflow models and configurations.
The following capture template will capture to a heading whose name is the entry's title, creating it if it doesn't exist, in a filename read from the user:
("@" "literature note" plain
"%?"
:target
(file+olp
"%(read-file-name \"Enter file to add note to:\")"
("${citar-title}"))
:unnarrowed t :hook org-id-get-create)
:hook
is documented in org-capture-templates
. We use it to turn the heading into a node if it isn't already one, so that citar-org-roam--create-capture-note
adds the ref to it. Without this, the ref will be added to a higher-level node if there is one.
TODO
TODO