#+TITLE: Test org-roam-templates #+Author: Yann Esposito tags :: [[file:20200428130708-roam.org][roam]] [[file:20200428130658-org_mode.org][org-mode]] [[file:2020-06-05--09-01-34Z--org_roam.org][org-roam]] [[file:2020-06-05--09-02-50Z--zettelkasten.org][zettelkasten]] https://github.com/org-roam/org-roam/blob/master/org-roam-capture.el#L82 I've been wondering how to make =org-roam= use the templates. Just needed to do that. #+begin_src elisp (setq org-roam-capture-templates '(("d" "default" plain (function org-roam--capture-get-point) "%?" :file-name "%(format-time-string \"%Y-%m-%d--%H-%M-%SZ--${slug}\" (current-time) t)" :head "#+TITLE: ${title}\n#+Author: Yann Esposito\n\ntags ::\nsource ::\n" :unnarrowed t))) #+end_src