fix(#3406, #3394): Remove init & initThrowsErrors

New run function added as replacement.
This commit is contained in:
Sidharth Vinod
2023-02-19 16:10:08 +05:30
parent 57fd3e586a
commit 4ea7294eeb
11 changed files with 215 additions and 126 deletions

View File

@@ -11,7 +11,7 @@
<script type="module">
import mermaid from './mermaid.esm.mjs';
mermaid.init({ startOnLoad: false });
mermaid.initialize({ startOnLoad: false });
mermaid.mermaidAPI.initialize();
async function rerender(text) {