Skip to content

Commit

Permalink
fix: Fix LateX math rendering issue in Markdown RemarkMath
Browse files Browse the repository at this point in the history
  • Loading branch information
Neet-Nestor committed Jul 17, 2024
1 parent 72105ab commit 4b3403b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@ function _MarkDownContent(props: { content: string }) {

return (
<ReactMarkdown
remarkPlugins={[RemarkMath, RemarkGfm, RemarkBreaks] as PluggableList}
remarkPlugins={
[
// RemarkMath,
RemarkGfm,
RemarkBreaks,
] as PluggableList
}
rehypePlugins={
[
RehypeKatex,
Expand Down

0 comments on commit 4b3403b

Please sign in to comment.