chhoumann / quickadd

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

Cannot add newline to capture format properly #712

Open mbw8421 opened 2 months ago

mbw8421 commented 2 months ago

Describe the bug If I have this data in a note:

image

With these settings on a capture:

image

I cant get it to correctly use a newline, the format for the above image is (newline deliberately included):

{{time}}
{{value}}

However is is not reflected when added to my note via capture.

image

If I change the capture format to:

{{time}}
{{value}}
\n

I get the same output, the newline is not included. If I change the format to:

\n
{{time}}
{{value}}

Then it adds 2 newlines before each insertion.

image

Desktop: