mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-05 13:59:56 +08:00
fix(blocks-markdown): Fix react-syntax-highlighter styles import.
This commit is contained in:
parent
5cd90fb066
commit
bc6fed771c
@ -22,7 +22,7 @@ import ReactMarkdown from 'react-markdown';
|
||||
import gfm from 'remark-gfm';
|
||||
|
||||
// See https://github.com/react-syntax-highlighter/react-syntax-highlighter/issues/393 for esm issue.
|
||||
import { github } from 'react-syntax-highlighter/dist/cjs/styles/hljs';
|
||||
import { github } from 'react-syntax-highlighter/dist/cjs/styles/hljs/index.js';
|
||||
import javascript from 'react-syntax-highlighter/dist/cjs/languages/hljs/javascript.js';
|
||||
import typescript from 'react-syntax-highlighter/dist/cjs/languages/hljs/typescript.js';
|
||||
import python from 'react-syntax-highlighter/dist/cjs/languages/hljs/python.js';
|
||||
|
Loading…
Reference in New Issue
Block a user