File tree Expand file tree Collapse file tree 3 files changed +149
-272
lines changed Expand file tree Collapse file tree 3 files changed +149
-272
lines changed Original file line number Diff line number Diff line change @@ -142,13 +142,7 @@ function _MarkDownContent(props: { content: string }) {
142142
143143 return (
144144 < ReactMarkdown
145- remarkPlugins = {
146- [
147- // RemarkMath,
148- RemarkGfm ,
149- RemarkBreaks ,
150- ] as PluggableList
151- }
145+ remarkPlugins = { [ RemarkMath , RemarkGfm , RemarkBreaks ] as PluggableList }
152146 rehypePlugins = {
153147 [
154148 RehypeKatex ,
Original file line number Diff line number Diff line change 3333 "react-dom" : " ^18.2.0" ,
3434 "react-markdown" : " ^9.0.1" ,
3535 "react-router-dom" : " ^6.23.1" ,
36- "rehype-highlight" : " ^6 .0.0" ,
37- "rehype-katex" : " ^6 .0.3 " ,
38- "remark-breaks" : " ^3 .0.2 " ,
36+ "rehype-highlight" : " ^7 .0.0" ,
37+ "rehype-katex" : " ^7 .0.0 " ,
38+ "remark-breaks" : " ^4 .0.0 " ,
3939 "remark-gfm" : " ^4.0.0" ,
40- "remark-math" : " ^5.1.1 " ,
40+ "remark-math" : " ^6.0.0 " ,
4141 "sass" : " ^1.59.2" ,
4242 "spark-md5" : " ^3.0.2" ,
4343 "use-debounce" : " ^10.0.1" ,
You can’t perform that action at this time.
0 commit comments