mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
✨ Feat: update mermaid to 11.3.0 to support more diagrams
This commit is contained in:
+2
-2
@@ -601,11 +601,11 @@ class FixIt {
|
||||
}
|
||||
|
||||
initMermaid() {
|
||||
if (!window.mermaid?.initialize) {
|
||||
if (!this.config.mermaid) {
|
||||
return;
|
||||
}
|
||||
const _initializeAndRun = () => {
|
||||
const themes = window.mermaid.themes ?? ['default', 'dark'];
|
||||
const themes = this.config.mermaid.themes ?? ['default', 'dark'];
|
||||
window.mermaid.initialize({
|
||||
securityLevel: 'loose',
|
||||
startOnLoad: false,
|
||||
|
||||
Reference in New Issue
Block a user