Skip to content

Commit c0a8b5b

Browse files
authored
feat: add LaTeX/TeX math equation rendering support (cgoinglove#318)
1 parent c5b94c1 commit c0a8b5b

File tree

4 files changed

+200
-1
lines changed

4 files changed

+200
-1
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
"hast-util-to-jsx-runtime": "^2.3.6",
102102
"ioredis": "^5.8.2",
103103
"json-schema": "^0.4.0",
104+
"katex": "^0.16.25",
104105
"lucide-react": "^0.486.0",
105106
"mermaid": "^11.12.1",
106107
"nanoid": "^5.1.6",
@@ -115,7 +116,9 @@
115116
"react-markdown": "^10.1.0",
116117
"react-resizable-panels": "^2.1.9",
117118
"recharts": "^2.15.4",
119+
"rehype-katex": "^7.0.1",
118120
"remark-gfm": "^4.0.1",
121+
"remark-math": "^6.0.0",
119122
"server-only": "^0.0.1",
120123
"shiki": "^3.14.0",
121124
"sonner": "^2.0.7",

0 commit comments

Comments
 (0)