-
Is there a way to grab the current file name rather than a link to the current file? The way that I'm attempting to use quickadd is as follows: As I'm typing a note I'll have a section FooI then want to create a note called Foo (or add to the existing Foo note) the text that falls under the Foo heading. In my Capture Format I was expecting to be able to do something like: ![[{{pathcurrent}}#{{value}}]] but the only way I can see to grab the current file name seems to be {{linkcurrent}}. This results in brackets that don't allow me to specify the header I hope to link to as it returns [[mypath/currentfile]] and I can't find a way to specify the header. What I get is, Is there a better / different way to grab the path to the current file? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I found a solution to my own problem using a Templater function in the quickadd Capture Format. The function was posted by stefantigro on reddit (link to reddit post):
|
Beta Was this translation helpful? Give feedback.
I found a solution to my own problem using a Templater function in the quickadd Capture Format. The function was posted by stefantigro on reddit (link to reddit post):