diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-31 17:55:12 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-31 19:45:08 +0100 |
| commit | 796bac09eab8259783343ca0db2610345d50496a (patch) | |
| tree | c89d759d37683b602bd5dcebb68ddee8a042225d /src/components/MDX/CodeBlock | |
| parent | 3a2dfec7f715f92620b76fb07a6c73b881e2a6e1 (diff) | |
chore: add a Prism plugin to set code blocks theme
Diffstat (limited to 'src/components/MDX/CodeBlock')
| -rw-r--r-- | src/components/MDX/CodeBlock/CodeBlock.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/MDX/CodeBlock/CodeBlock.tsx b/src/components/MDX/CodeBlock/CodeBlock.tsx index 8311999..a822744 100644 --- a/src/components/MDX/CodeBlock/CodeBlock.tsx +++ b/src/components/MDX/CodeBlock/CodeBlock.tsx @@ -4,6 +4,7 @@ import { useRouter } from 'next/router'; import Prism from 'prismjs'; import { ReactChildren, useEffect } from 'react'; import { useIntl } from 'react-intl'; +import '@utils/plugins/prism-color-scheme'; const CodeBlock = ({ className, |
