mirror of
https://github.com/lencx/ChatGPT.git
synced 2024-10-01 01:06:13 -04:00
chore: markdown style
This commit is contained in:
parent
9a5c008a25
commit
3fea94f669
@ -43,6 +43,7 @@
|
|||||||
"antd": "^5.1.0",
|
"antd": "^5.1.0",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
|
"github-markdown-css": "^5.1.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
|
1
src/components/Markdown/index.tsx
vendored
1
src/components/Markdown/index.tsx
vendored
@ -5,6 +5,7 @@ import remarkGfm from 'remark-gfm';
|
|||||||
import rehypeRaw from 'rehype-raw';
|
import rehypeRaw from 'rehype-raw';
|
||||||
import SyntaxHighlighter from 'react-syntax-highlighter';
|
import SyntaxHighlighter from 'react-syntax-highlighter';
|
||||||
import agate from 'react-syntax-highlighter/dist/esm/styles/hljs/agate';
|
import agate from 'react-syntax-highlighter/dist/esm/styles/hljs/agate';
|
||||||
|
import 'github-markdown-css';
|
||||||
|
|
||||||
import './index.scss';
|
import './index.scss';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user