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 aba8654 commit 2434bd4Copy full SHA for 2434bd4
src/components/content/PrismCode/prismSetup.tsx
@@ -4,10 +4,6 @@
4
// Its content is mostly vanilla JS copied from Prism, so type-checking is disabled above.
5
import { Prism as RendererPrism } from 'prism-react-renderer';
6
7
-// Bridge the Prism instance used by `prism-react-renderer` **before** we load
8
-// any additional grammars so that those grammars augment this exact object.
9
-(globalThis as any).Prism = RendererPrism;
10
-
11
RendererPrism.languages.sql = {
12
comment: {
13
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,
0 commit comments