Commit 6d6df77a by liimin

fix(markdown): 临时移除mermaid SVG渲染以解决小程序异常问题

由于mermaid图表包加载在小程序环境异常,暂时移除相关渲染逻辑。
1 parent 7e9a4a76
......@@ -227,7 +227,8 @@ const Code: any = memo(({ inline, className, children = '', ...props }: any) =>
switch (language) {
case 'mermaid':
if (isSVG)
return <Flowchart PrimitiveCode={content} />
return <></>
// return <Flowchart PrimitiveCode={content} />
break
case 'echarts': {
// Loading state: show loading indicator
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!