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 24ef5d1 commit 4bce464Copy full SHA for 4bce464
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