Use case or problem
YAML appears to have won the battle for the preferred metadata section format. Obsidian is also supporting it more directly with support for aliases. This frontmatter is only going to grow in size - and is potentially in every file.
Unfortunately, the requirement to place the metadata at the top of the text file goes against many design rules by getting in between the meat of note and the interface. As yaml headers expand, the true content of the note will get pushed further and further down and the visual clutter will increase.
Ideally, it would be nice to have the YAML metadata be visible only when you need to access it, and not take front stage for every note at the top of the page.
Similar discussions from other forums:
A couple of options:
- Provide a global hotkey that turns on and off the display of YAML headers that is persistent. That way you can turn it off and forget about it.
- Provide a separate YAML editor panel that will move the YAML text out of the primary view (See the discussion here)
- Support having the YAML code at the end of the document - this would at least get it out of the way
Current workaround (optional)
Currently I’ve moved all YAML text to the bottom just to get it out of the way. Dataview still supports this, but Obsidian known keys like aliases: will not support it.
Also, you can hide the metadata by switching to the preview mode. Even if you use this as compromise, a WYSIWYG editor will reopen this problem.
Related feature requests (optional)
Thanks for considering this!