790 B
790 B
Test org-roam-templates
tags :: roam org-mode org-roam 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.
(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)))