Closed manuelver closed 1 year ago
I have changed the script
<script src="//unpkg.com/mermaid/dist/mermaid.js"></script> <script src="//unpkg.com/docsify-mermaid@latest/dist/docsify-mermaid.js"></script> <script>mermaid.initialize({ startOnLoad: true });</script> <script> mermaid.initialize({ startOnLoad: true, securityLevel: 'loose', logLevel: 1 }); </script>
to
<script type="module"> import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs"; mermaid.initialize({ startOnLoad: true }); window.mermaid = mermaid; </script> <script src="//unpkg.com/docsify-mermaid@2.0.0/dist/docsify-mermaid.js"></script>
in all index.html. As I have seen in the documentation
I have changed the script
to
in all index.html. As I have seen in the documentation