yzhang-gh / vscode-markdown

Markdown All in One
https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one
MIT License
2.92k stars 325 forks source link

Code snippets not rendered with correct coloring in preview mode #1224

Open payn-git opened 1 year ago

payn-git commented 1 year ago

What's the problem

Code snippets include in our markdown files have correct coloring in editing mode while annotated as c# or csharp, but in review mode coloring is incorrect. Please see attached image.

What's the expected result

Coloring in preview mode (right side on attached image) is same as in editing mode (left side).

How to reproduce

See attached image

Other information

CodeSnippets

Plugin installed version 5,534,247

yzhang-gh commented 1 year ago

Thanks for the feedback.

However, the syntax highlight is provided by the VS Code's built-in Markdown extension. You can report this to the VS Code team.