Update template syntax, allow capture directly to nodes

This commit is contained in:
Jethro Kuan
2021-04-13 19:28:47 +08:00
parent c9636d6551
commit e612b3f068
2 changed files with 97 additions and 115 deletions

View File

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