A few YAML-related issues:
- There are potential conflicts between the YAML spec and Obsidian.
#
is a reserved character for comments, and[]
are reserved characters for flow styles. What does that mean for including tags and links? - There is a bug in edit mode where in YAML front-matter bounded by
---
, tags and links are not clickable - https://forum.obsidian.md/t/cannot-follow-links-or-tags-in-front-matter-in-edit-view/1144. This may be related to the issue above. - In preview mode, YAML front matter bounded by
---
without blank lines are rendered as<h2>
.
So at least out-of-the-box, there are problems with CodeMirror and YAML front-matter in Obsidian. I understand this was not intentional.
Not sure where to go from here on this issue, but I am hoping for some metadata guidance soon, even if there are no related features for awhile.