mylloon.fr/templates/libs/mermaid_footer.html

7 lines
237 B
HTML

<script type="module">
import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";
mermaid.initialize({ startOnLoad: false });
await mermaid.run({
querySelector: ".language-mermaid",
});
</script>