Open crystalfp opened 5 years ago
https://github.com/mjbvz/vscode-markdown-yaml-preamble/issues/1#issue-407569036
@crystalfp, is that valid Markdown YAML preamble?
It is accepted by pandoc.
It is valid, and unsupported by the extension sadly.
A document begins with
---
and ends with...
. Both are optional, though a...
can only be followed by directives or---
. [...] Documents may be preceded by directives, in which case the---
is required to indicate the end of the directives.
The extension Markdown Preview Enhanced also provides displaying of YAML preamble, albeit not via the native Markdown preview window, and is bundled with a lot of unrelated features. Despite 4M downloads, it also doesn't support the three dots as YAML document end...
To show the preamble in the extension's Markdown preview, use setting:
"markdown-preview-enhanced.frontMatterRenderingOption": "code block", // or "table"
I have markdown files in which the YAML block is terminated by three dots and not three dashes. Is it possible to add this (valid) block end indicator to the extension? Thanks! An example: