Steps to reproduce
Every time there is an empty front matter, or a front matter containing only a comment, such as:
---
---
or
---
# this is a comment
---
Expected result
Front matter shouldn’t appear on top of the page, even if in settings the “show front matter” setting is on. Otherwise, it could be displayed as empty
Actual result
This is what appears:
Environment
- Operating system: MacOS
- Obsidian version: 0.9.20
Additional information
YAML front matter, if empty, is not invalid: it’s just empty.