New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support C# in markdown preview code block syntax highlighting. #61291

merged 1 commit into from Oct 19, 2018


None yet
2 participants

atitoa93 commented Oct 19, 2018

Fixes #61240

Seems the problem coming from highlight.js package. Adding this snippit solved the problem.

if (lang && lang.toLocaleLowerCase() === 'c#') {
    lang = 'cs';

@mjbvz mjbvz added this to the October 2018 milestone Oct 19, 2018

@mjbvz mjbvz merged commit 6944a22 into Microsoft:master Oct 19, 2018

2 checks passed

VS Code #20181019.5 succeeded
license/cla All CLA requirements met.

This comment has been minimized.


mjbvz commented Oct 19, 2018


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment