mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user