Skip to content

Commit 4570dd5

Browse files
committed
fix(url-markdown): 🐛 set output mathml to deduplicate formula
1 parent e0b74b8 commit 4570dd5

File tree

1 file changed

+1
-1
lines changed
  • projects/web/src/pages/extract/components/url-markdown

1 file changed

+1
-1
lines changed

projects/web/src/pages/extract/components/url-markdown/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const LazyUrlMarkdown: React.FC<IMarkdownProps> = ({
2929
remarkMath,
3030
[remarkGfm, { singleTilde: false }, { strict: "ignore" }],
3131
]}
32-
rehypePlugins={[[rehypeKatex, { strict: "ignore" }], rehypeRaw]}
32+
rehypePlugins={[[rehypeKatex, { strict: "ignore", output: 'mathml' }], rehypeRaw]}
3333
components={{
3434
code(props) {
3535
const { children, className, node, ...rest } = props;

0 commit comments

Comments
 (0)