feat: support math rendering with KaTeX

This commit is contained in:
Henry-Jessie
2025-11-02 16:31:00 +08:00
committed by Henry-Jessie
parent 72e97c4fbc
commit 06d17eb22e
4 changed files with 326 additions and 2 deletions

View File

@@ -67,6 +67,7 @@
"fuse.js": "^7.0.0",
"gray-matter": "^4.0.3",
"jsonwebtoken": "^9.0.2",
"katex": "^0.16.25",
"lucide-react": "^0.515.0",
"mime-types": "^3.0.1",
"multer": "^2.0.1",
@@ -77,7 +78,9 @@
"react-dropzone": "^14.2.3",
"react-markdown": "^10.1.0",
"react-router-dom": "^6.8.1",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
"sqlite": "^5.1.1",
"sqlite3": "^5.1.7",
"tailwind-merge": "^3.3.1",