Empty YAML Front Matter appears as an error

Steps to reproduce

Every time there is an empty front matter, or a front matter containing only a comment, such as:



# 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:


  • Operating system: MacOS
  • Obsidian version: 0.9.20

Additional information

YAML front matter, if empty, is not invalid: it’s just empty.

will be fixed in v0.10

1 Like

“will be fixed in v0.10“

v0.10! :clap::clap::clap: I didn’t have the right words.

1 Like