mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: dialog box cannot correctly display LaTeX formulas (#9242)
This commit is contained in:
parent
a6d387148a
commit
4e1dca9d52
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user