We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84dc9ea commit f84d388Copy full SHA for f84d388
packages/site-kit/src/lib/markdown/renderer.ts
@@ -869,7 +869,7 @@ async function syntax_highlight({
869
html = replace_blank_lines(html);
870
} else {
871
const highlighted = highlighter.codeToHtml(source, {
872
- lang: SHIKI_LANGUAGE_MAP[language as keyof typeof SHIKI_LANGUAGE_MAP] ?? language,
+ lang: SHIKI_LANGUAGE_MAP[language as keyof typeof SHIKI_LANGUAGE_MAP],
873
theme
874
});
875
0 commit comments