chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.54k stars 137 forks source link

[BUG] {{linkcurrent}} does not work within the Insert After field #400

Open profucius opened 1 year ago

profucius commented 1 year ago

When using Capture, and setting the Insert After and Capture Format fields with {{linkcurrent}}, it works fine inside Capture Format but does not work within Insert After. The result is that it inserts a literal text of {{linkcurrent}} instead of converting it. Again, the conversion works fine when using {{linkcurrent}} inside of Capture Format, it converts it to the original source filename as expected.

I need the ability to use the original filename as the Header that the text is captured into the new note.

QuickAdd v0.11.3

Screenshot below, the {{linkcurrent}} is the text 2023-02-20 which you see is converted properly in the text but not inside the header that QuickAdd creates. Note: You'll see the settings below shows QuickAdd actually detects the {{linkcurrent}} properly in its preview above the field, so I think this is a bug.

image

image image