atom-community / markdown-preview-plus

Markdown Preview + Community Features
https://atom.io/packages/markdown-preview-plus
Other
370 stars 85 forks source link

Missing code syntax highlighting with Pandoc backend #428

Closed kylebarron closed 6 years ago

kylebarron commented 6 years ago

Is there a hardcoded list of languages that Markdown Preview Plus highlights with the Pandoc backend? If so, could I add Stata (scope .source.stata) to that list? Alternatively, is there a way it would automatically highlight a code block if a highlighter of that name is installed?

Editor (with language-markdown): image

Markdown preview: image

I searched for issues and only found https://github.com/atom-community/markdown-preview-plus/issues/250#issuecomment-278383484

Highlighting code blocks with Pandoc parser is kinda broken at the moment.

lierdakil commented 6 years ago

Thanks for reporting!

Should be fixed in v3.6.1.

kylebarron commented 6 years ago

Thanks!