Next: , Previous: , Up: Top   [Contents]


5 The Templating System

Rather than creating blank files on ‘org-roam-insert’ and ‘org-roam-find-file’, it may be desirable to prefill the file with templated content. This may include:

This requires a complex template insertion system. Fortunately, Org ships with a powerful one: ‘org-capture’. However, org-capture was not designed for such use. Org-roam abuses ‘org-capture’, extending its syntax. To first understand how org-roam’s templating system works, it may be useful to look into basic usage of ‘org-capture’.

Org-roam’s templates can be customized by modifying the variable ‘org-roam-capture-templates’.