chhoumann / quickadd

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

[FEATURE REQUEST] Appending to existing file while considering the frontmatter #647

Open Moyf opened 4 months ago

Moyf commented 4 months ago

Is your feature request related to a problem? Please describe. For now, If I use QuickAdd to append some text to an existing note with frontmatter , using this option: image

It would just insert the text BEFORE the original frontmatter.. and then break the frontmatter . (Frontmatter needs to be in the first line of note)

Describe the solution you'd like So I was wondering could there be a new option "Append to the top (After frontmatter)" And with this, put the content before the CONENT but AFTER the frontmatter ? Thus not breaking thr original frontmatter.

seren commented 2 months ago

I have this issue as well. My capture macro has the following settings:

The top of my note initially looks like this:

---
created: 2024-04-22
updated: 2024-05-15
---

[ ] some text

After I capture "this is a test", it looks like this:

### 2024-05-15
- [ ] this is a test
---
created: 2024-04-22
updated: 2024-05-15
---

[ ] some text

I wondering if I'm missing some obvious way not to clobber the frontmatter.