Add suppressErrorRendering to mermaid config
This commit is contained in:
parent
b44c8d46a5
commit
e54bcff85c
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ const CodeHighlight = memo(({ className, children, node, renderAsDiagram = false
|
||||||
startOnLoad: false,
|
startOnLoad: false,
|
||||||
theme: theme === 'dark' ? 'dark' : 'default',
|
theme: theme === 'dark' ? 'dark' : 'default',
|
||||||
securityLevel: 'loose',
|
securityLevel: 'loose',
|
||||||
|
suppressErrorRendering: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Show loading indicator
|
// Show loading indicator
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue