What I’m trying to do
I’d like to create notes using the selected text for their names.
Things I have tried
I’ve got a QuickAdd template with {{selected}} as the file format. I select a bit of text in my active editor and run the QuickAdd template. The note is getting names like 1.md, 2.md and so on, the selected text is ignored. I also don’t get the link in my original file.
If you post your template here in a code block, maybe someone can see if there is a problem with it.
The template is almost empty.
---
created: <% tp.file.creation_date() %>
---
It’s the title of the note that is not populated properly.
I mean show us the QuickAdd template — the things that is supposed to set the filename.
Also this sentence may need explaining because it doesn’t refer to anything previously mentioned:
The filename is just {{selected}}:
As for the link, I expect it to replace the selection in the original file (i.e. I select Foo Bar, apply the template, it becomes [[Foo Bar]]):
I looked thru QuickAdd’s docs a bit and don’t see any obvious problems, tho my grasp of it is not strong. You could check the Issues page of the plugin’s GitHub to see if anyone has mentioned similar problems. (The GitHub is linked near the top of the plugin’s description.)
1 Like