mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
parent
963f49d0e1
commit
1a79e7eb63
|
@ -412,6 +412,9 @@ async function getMarkdownOptions(md: () => MarkdownIt): Promise<MarkdownIt.Opti
|
|||
|
||||
function normalizeHighlightLang(lang: string | undefined) {
|
||||
switch (lang && lang.toLowerCase()) {
|
||||
case 'shell':
|
||||
return 'sh';
|
||||
|
||||
case 'py3':
|
||||
return 'python';
|
||||
|
||||
|
|
Loading…
Reference in a new issue