chhoumann / quickadd

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

[BUG] Can't insert after heading and a blank line #555

Open mathisgauthey opened 1 year ago

mathisgauthey commented 1 year ago

Describe the bug I want to insert after my ## Notes πŸ“ header, but with a blank line. I can't manage to use the capture to capture things after my header and a new line, even thought I tried adding a \n.

Initial state, there's 3 spaces between my headings :

## Notes πŸ“

## Dashboard πŸ—ΊοΈ

I use the capture to add a task :

## Notes πŸ“
- [ ] test βž• 2023-08-15

## Dashboard πŸ—ΊοΈ

Instead of :

## Notes πŸ“

- [ ] test βž• 2023-08-15

## Dashboard πŸ—ΊοΈ

To Reproduce image image

Expected behavior

## Notes πŸ“

- [ ] test βž• 2023-08-15

## Dashboard πŸ—ΊοΈ
aditya-an1l commented 5 months ago

Try adding space in the Capture Format box itself. Something like this:

<leave_a_space_here>
{{value}} + {{date}}
mathisgauthey commented 5 months ago

Try adding space in the Capture Format box itself. Something like this:

<leave_a_space_here>
{{value}} + {{date}}

I don't use the plugin anymore but thanks for providing an answer ! I certainly hope it'll help people down the line.