You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yeedle Thanks. Yes indeedy YAML syntax is mostly a superset of JSON. But, for example, if you remove the space after a colon (e.g., bar:"baz") YAML parsers generally won't like that. More info here.
JSON support in front matter also means that you'd see opening and closing curly braces{ } instead of --- for YAML (or +++ for TOML).
It's just a matter of "playing nice" and working with JSON without friction so-to-speak for those coming from other SSGs that directly support JSON, YAML, and TOML.
Similar to other SSGs (Hugo, etc.), add support in VuePress for JSON front matter (in addition to YAML and TOML [#141]).
gray-matter
The text was updated successfully, but these errors were encountered: