markdown-viewer icon indicating copy to clipboard operation
markdown-viewer copied to clipboard

Ignore YAML-metadata

Open jaranta opened this issue 10 years ago • 2 comments

Many of the popular markdown-implementations use YAML for metadata. Currently, the extension thinks that YAML-metadata should be parsed just like the rest of the text. A perfect implementation would be to parse the YAML-metadata correctly, but a sufficient solution to previewing would be to ignore the YAML completely.

jaranta avatar Feb 04 '15 14:02 jaranta

Well, YAML metadata are not standard so I'm not considering it for now because they're not implemented by marked. However I'm thinking about switching to markdown-it because their implementation support plugins, so it'll probably possible to write a yaml plugin then.

Thiht avatar Feb 05 '15 21:02 Thiht

:+1: for plugins. Could solve other issues like #22 .

fpirsch avatar Feb 21 '15 15:02 fpirsch