Skip to content

Commit 4e25ee4

Browse files
authored
Apply suggestion from @eltigerchino
1 parent 3bbef52 commit 4e25ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/site-kit/src/lib/markdown/renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ async function syntax_highlight({
862862
html = replace_blank_lines(html);
863863
} else {
864864
const highlighted = highlighter.codeToHtml(source, {
865-
// fallback to the passing the language as is if it doesn't exist in our map
865+
// fallback to passing the language as is if it doesn't exist in our map
866866
// this ensures we get an error if we're using an unsupported language
867867
// rather than silently not highlighting the code block as expected
868868
lang: SHIKI_LANGUAGE_MAP[language as keyof typeof SHIKI_LANGUAGE_MAP] ?? language,

0 commit comments

Comments
 (0)