mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-14 08:58:27 +08:00
Fix [ID:0] not converted to Fig. 1 (#16357)
This commit is contained in:
@@ -294,7 +294,7 @@ const FloatingChatWidgetMarkdown = ({
|
||||
return (
|
||||
<div className="floating-chat-widget" dir={dir}>
|
||||
<Markdown
|
||||
rehypePlugins={[rehypeWrapReference, rehypeKatex, rehypeRaw]}
|
||||
rehypePlugins={[rehypeRaw, rehypeWrapReference, rehypeKatex]}
|
||||
remarkPlugins={MarkdownRemarkPlugins}
|
||||
className="text-sm leading-relaxed space-y-2 prose-sm max-w-full"
|
||||
components={
|
||||
|
||||
@@ -260,7 +260,7 @@ const MarkdownContent = ({
|
||||
return (
|
||||
<div dir={dir} className={styles.markdownContentWrapper}>
|
||||
<Markdown
|
||||
rehypePlugins={[rehypeWrapReference, rehypeKatex, rehypeRaw]}
|
||||
rehypePlugins={[rehypeRaw, rehypeWrapReference, rehypeKatex]}
|
||||
remarkPlugins={MarkdownRemarkPlugins}
|
||||
components={
|
||||
{
|
||||
|
||||
@@ -357,7 +357,7 @@ function MarkdownContent({
|
||||
return (
|
||||
<div dir={dir} className={styles.markdownContentWrapper}>
|
||||
<Markdown
|
||||
rehypePlugins={[rehypeWrapReference, rehypeKatex, rehypeRaw]}
|
||||
rehypePlugins={[rehypeRaw, rehypeWrapReference, rehypeKatex]}
|
||||
remarkPlugins={MarkdownRemarkPlugins}
|
||||
urlTransform={(url, key) => {
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user