quickadd
quickadd copied to clipboard
[FEATURE REQUEST] Appending to existing file while considering the frontmatter
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:
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.
I have this issue as well. My capture macro has the following settings:
- Task:
enabled
- Insert after:
### {{DATE:YYYY-MM-DD}}
- Create line if not found:
Top
- Capture format:
{{VALUE}}
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.