Skip to content

Commit

Permalink
fix: dialog box cannot correctly display LaTeX formulas (langgenius#9242
Browse files Browse the repository at this point in the history
)
  • Loading branch information
likenamehaojie authored and lau-td committed Oct 23, 2024
1 parent 6788bc4 commit e0f50a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/components/base/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export function Markdown(props: { content: string; className?: string }) {
return (
<div className={cn(props.className, 'markdown-body')}>
<ReactMarkdown
remarkPlugins={[[RemarkGfm, RemarkMath, { singleDollarTextMath: false }], RemarkBreaks]}
remarkPlugins={[RemarkGfm, RemarkMath, RemarkBreaks]}
rehypePlugins={[
RehypeKatex,
RehypeRaw as any,
Expand Down

0 comments on commit e0f50a0

Please sign in to comment.