mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-02 11:18:19 +08:00
fix: dialog box cannot correctly display LaTeX formulas (#9242)
This commit is contained in:
parent
42b02b3a5f
commit
ea584e94bd
@ -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