Skip to content

Commit

Permalink
fixed Prism
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakprabhakara committed Nov 1, 2023
1 parent dd925dd commit 1cab926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme/CodeBlock/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import CodeBlock from '@theme-original/CodeBlock';

import Prism from 'prism-react-renderer/prism';
import { Prism } from 'prism-react-renderer';
(typeof global !== 'undefined' ? global : window).Prism = Prism;
require('prismjs/components/prism-ruby');

Expand Down

0 comments on commit 1cab926

Please sign in to comment.