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

Vim code is not getting highlighted

Open i-give-up opened this issue 6 years ago • 1 comments

Here's a screenshot. Python code is highlighted fine but Vim code is not highlighted.

simov-md_viewer-vim-highlight

I checked and Vim is in prism's list of supported languages.

Let me know if you need more information.

Env: Chrome 64, Markdown Viewer 3.4

i-give-up avatar Mar 05 '18 06:03 i-give-up

Yep, not all Prism supported syntax definitions are included. I have a list of all included ones here: https://github.com/simov/markdown-viewer/blob/master/build/prism/prism.json

I'll add it in the next release.

simov avatar Mar 05 '18 15:03 simov

Markdown Viewer v5.1 now ships with all of the available languages in prism.

simov avatar Mar 18 '23 08:03 simov