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.
2 parents 24ef5d1 + 4bce464 commit 2e2561aCopy full SHA for 2e2561a
src/components/code.tsx
@@ -12,6 +12,7 @@ const Code: React.FC<{ code: string; language: string }> = ({
12
return (
13
<pre className="notion-code">
14
<code
15
+ className={`language-${language.toLowerCase()}`}
16
dangerouslySetInnerHTML={{
17
__html: highlight(code, prismLanguage, language)
18
}}
0 commit comments