cristianvasquez/obsidian-prettify

Frontmatter bug

Closed this issue · 3 comments

I have some notes with YAML frontmatter and some without, and I don't want a formatter to change that.
If I disable 'Add new headers', then notes with existing frontmatter get formatted wrong. They're formatted right if 'Add new headers' is on, but I don't want to add new headers.

Hi!, can you please give me a note to reproduce the behavior?

this was enough to reproduce

---
property: 'string'
---

anything

and it turns into this with 'Add new headers' off

---

## property: 'string'

anything

I see,
There is a new version with the fix. Update and restart Obsidian, should work.

Thanks for reporting!.