Skip to content

Commit

Permalink
fix: update markdown remark and rehype package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Neet-Nestor committed Jul 17, 2024
1 parent 4b3403b commit 8a2e22b
Show file tree
Hide file tree
Showing 3 changed files with 149 additions and 272 deletions.
8 changes: 1 addition & 7 deletions app/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,7 @@ function _MarkDownContent(props: { content: string }) {

return (
<ReactMarkdown
remarkPlugins={
[
// RemarkMath,
RemarkGfm,
RemarkBreaks,
] as PluggableList
}
remarkPlugins={[RemarkMath, RemarkGfm, RemarkBreaks] as PluggableList}
rehypePlugins={
[
RehypeKatex,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"react-dom": "^18.2.0",
"react-markdown": "^9.0.1",
"react-router-dom": "^6.23.1",
"rehype-highlight": "^6.0.0",
"rehype-katex": "^6.0.3",
"remark-breaks": "^3.0.2",
"rehype-highlight": "^7.0.0",
"rehype-katex": "^7.0.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^4.0.0",
"remark-math": "^5.1.1",
"remark-math": "^6.0.0",
"sass": "^1.59.2",
"spark-md5": "^3.0.2",
"use-debounce": "^10.0.1",
Expand Down
Loading

0 comments on commit 8a2e22b

Please sign in to comment.