mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: markdown style
This commit is contained in:
@@ -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';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user