fix: #289 use highlight.js instead of prism

This commit is contained in:
Yifei Zhang
2023-04-02 14:48:18 +00:00
parent 7b5af271d5
commit 4f0108b0ea
7 changed files with 190 additions and 128 deletions

View File

@@ -24,8 +24,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^8.0.5",
"rehype-highlight": "^6.0.0",
"rehype-katex": "^6.0.2",
"rehype-prism-plus": "^1.5.1",
"remark-breaks": "^3.0.2",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",