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 3bbef52 commit 4e25ee4Copy full SHA for 4e25ee4
packages/site-kit/src/lib/markdown/renderer.ts
@@ -862,7 +862,7 @@ async function syntax_highlight({
862
html = replace_blank_lines(html);
863
} else {
864
const highlighted = highlighter.codeToHtml(source, {
865
- // fallback to the passing the language as is if it doesn't exist in our map
+ // fallback to passing the language as is if it doesn't exist in our map
866
// this ensures we get an error if we're using an unsupported language
867
// rather than silently not highlighting the code block as expected
868
lang: SHIKI_LANGUAGE_MAP[language as keyof typeof SHIKI_LANGUAGE_MAP] ?? language,
0 commit comments