mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 03:46:52 +08:00
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 (
|
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user