Replace react-syntax-highlighter with rehype-highlight

This commit is contained in:
2025-10-11 22:02:02 +02:00
parent 2370043986
commit 9ca8a46093
4 changed files with 33 additions and 478 deletions

View File

@@ -44,9 +44,8 @@
"react": "^18.3.1",
"react-arborist": "^3.4.0",
"react-dom": "^18.3.1",
"react-syntax-highlighter": "^15.6.6",
"rehype-highlight": "^7.0.2",
"rehype-mathjax": "^6.0.0",
"rehype-prism": "^2.3.3",
"rehype-react": "^8.0.0",
"remark": "^15.0.1",
"remark-math": "^6.0.0",
@@ -63,7 +62,6 @@
"@types/node": "^22.14.0",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"@types/react-syntax-highlighter": "^15.5.13",
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"@vitejs/plugin-react": "^4.3.4",