I have a few org-roam-capture-templates, all looking similar to:
(setq org-roam-capture-templates '(("d" "default" plain "%?"
:target
(file+head "misc/${slug}.org"
"#+title: ${title}\n#+filetags:")
...
It seems that ${slug} is always expanding to be all lower case. For example, if creating a node: fooBar under the default entry, the resulting file would be misc/foobar.org with
Changing the entry to use ${title} instead of ${slug} solves the problem:
(setq org-roam-capture-templates '(("d" "default" plain "%?"
:target
(file+head "misc/${title}.org"
"#+title: ${title}\n#+filetags:")
But what I’m not clear on is where are these keywords (slug, title, etc) documented? I would expect to see it in the help for org-roam-capture-templates, but I don’t see it there.