fix: dialog box cannot correctly display LaTeX formulas (#9242)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user