refac
This commit is contained in:
1 parent
89629b8f03
commit
ec8e20af35
1 file changed
+2
-1
@@ -1927,7 +1927,8 @@ export const initMermaid = async () => {
|
|||||||
mermaid.initialize({
|
mermaid.initialize({
|
||||||
startOnLoad: false, // Should be false when using render API
|
startOnLoad: false, // Should be false when using render API
|
||||||
theme: document.documentElement.classList.contains('dark') ? 'dark' : 'default',
|
theme: document.documentElement.classList.contains('dark') ? 'dark' : 'default',
|
||||||
securityLevel: 'loose'
|
securityLevel: 'loose',
|
||||||
|
htmlLabels: false
|
||||||
});
|
});
|
||||||
return mermaid;
|
return mermaid;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user