This commit is contained in:
Jethro Kuan
2021-04-09 18:49:13 +08:00
parent 45546ff6fa
commit 9a6cfe56c4
2 changed files with 17 additions and 17 deletions

View File

@ -51,12 +51,12 @@ during the Org-roam capture process.")
"Keywords used in `org-roam-capture-templates' specific to Org-roam.")
(defcustom org-roam-capture-templates
'((:key "d"
:desc "default"
:body "%?"
:file-path "%<%Y%m%d%H%M%S>-${slug}.org"
:head "#+title: ${title}\n"
:unnarrowed t))
(list (list :key "d"
:desc "default"
:body "%?"
:file-path "%<%Y%m%d%H%M%S>-${slug}.org"
:head "#+title: ${title}\n"
:unnarrowed t))
"Capture templates for Org-roam.
TODO: Document this"
@ -65,12 +65,12 @@ TODO: Document this"
)
(defcustom org-roam-capture-ref-templates
'((:key "r"
:desc "ref"
:body "%?"
:file-path "${slug}.org"
:head "#+title: ${title}\n#+roam_key: ${ref}" ;TODO: auto insert ref instead
:unnarrowed t))
'(list (list :key "r"
:desc "ref"
:body "%?"
:file-path "${slug}.org"
:head "#+title: ${title}\n#+roam_key: ${ref}" ;TODO: auto insert ref instead
:unnarrowed t))
"The Org-roam templates used during a capture from the roam-ref protocol.
Details on how to specify for the template is given in `org-roam-capture-templates'."
:group 'org-roam

View File

@ -61,11 +61,11 @@
:type 'hook)
(defcustom org-roam-dailies-capture-templates
'((:key "d"
:desc "default"
:body "* %?"
:file-path ,(concat org-roam-dailies-directory "%<%Y-%m-%d>")
:head "#+title: %<%Y-%m-%d>\n"))
(list (list :key "d"
:desc "default"
:body "* %?"
:file-path ,(concat org-roam-dailies-directory "%<%Y-%m-%d>")
:head "#+title: %<%Y-%m-%d>\n"))
"Capture templates for daily-notes in Org-roam."
:group 'org-roam
:type