mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 19:39:02 +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 (
|
return (
|
||||||
<div className={cn(props.className, 'markdown-body')}>
|
<div className={cn(props.className, 'markdown-body')}>
|
||||||
<ReactMarkdown
|
<ReactMarkdown
|
||||||
remarkPlugins={[[RemarkGfm, RemarkMath, { singleDollarTextMath: false }], RemarkBreaks]}
|
remarkPlugins={[RemarkGfm, RemarkMath, RemarkBreaks]}
|
||||||
rehypePlugins={[
|
rehypePlugins={[
|
||||||
RehypeKatex,
|
RehypeKatex,
|
||||||
RehypeRaw as any,
|
RehypeRaw as any,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user