Skip to content

Commit 4b3403b

Browse files
committed
fix: Fix LateX math rendering issue in Markdown RemarkMath
1 parent 72105ab commit 4b3403b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/components/markdown.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,13 @@ function _MarkDownContent(props: { content: string }) {
142142

143143
return (
144144
<ReactMarkdown
145-
remarkPlugins={[RemarkMath, RemarkGfm, RemarkBreaks] as PluggableList}
145+
remarkPlugins={
146+
[
147+
// RemarkMath,
148+
RemarkGfm,
149+
RemarkBreaks,
150+
] as PluggableList
151+
}
146152
rehypePlugins={
147153
[
148154
RehypeKatex,

0 commit comments

Comments
 (0)