Skip to content

Commit

Permalink
Except .mermaid instead of .language-mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
jmandel committed May 22, 2024
1 parent 96d3b1c commit 792db42
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/assets/js/mermaid-init.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
mermaid.initialize({ securityLevel: "sandbox", });
window.mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
mermaid.initialize({
securityLevel: 'sandbox',
});

0 comments on commit 792db42

Please sign in to comment.