markdown-viewer
markdown-viewer copied to clipboard
Ignore YAML-metadata
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.
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.
:+1: for plugins. Could solve other issues like #22 .