chhoumann / quickadd

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

[BUG] QuickAdd does not recognize headers inside callouts. #516

Open Amir1453 opened 1 year ago

Amir1453 commented 1 year ago

Describe the bug QuickAdd does not recognize headers inside of callouts as sections. I know this is probably related to how markdown processes sections but I thought a QuickAdd specific remedy could be made.

To Reproduce Steps to reproduce the behavior:

  1. Create new note
  2. Create a Header # Cat
    # Cat
  3. Create a header inside a callout.
> [!quote]
> # Dog
  1. Create a quickadd capture command which inserts after # Cat and inserts at the end of the section.
  2. Use the command.

Expected behavior The entered text is under # Cat.

Actual behavior The entered text is under > # Dog

Screenshots image image image

Desktop (please complete the following information):

Additional context Obsidian is up to date. Was tested in the sandbox vault.