Skip to content

Commit 2434bd4

Browse files
committed
feat(PrismCode): react renderer * 4
1 parent aba8654 commit 2434bd4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/content/PrismCode/prismSetup.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
// Its content is mostly vanilla JS copied from Prism, so type-checking is disabled above.
55
import { Prism as RendererPrism } from 'prism-react-renderer';
66

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-
117
RendererPrism.languages.sql = {
128
comment: {
139
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,

0 commit comments

Comments
 (0)