chhoumann / quickadd

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

[FEATURE REQUEST] "Create line if not found" at Top inserted AFTER frontmatter #545

Closed n-konig closed 7 months ago

n-konig commented 1 year ago

Description

When using "Insert after" -> "Create line if not found" with setting "Top", the line created displaces the frontmatter (as it really does create the line at the very top of the file!)

Suggestion

Could the "Create line if not found" ignore the fronmatter, so that creating the line at the "Top" actually creates the line after the frontmatter is closed? This would be brilliant!

Additional context

For example

---
key: value
---

now becomes

# Line created at the Top
---
key: value
---

but would preferably become

---
key: value
---
# Line created at the Top

Regards, Niclas

chhoumann commented 7 months ago

Fixed by @evanaze - thank you!

github-actions[bot] commented 7 months ago

:tada: This issue has been resolved in version 1.7.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

f3d3r1c098 commented 4 months ago

is this issue back on version 1.8.1?