We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newer mind map graph uses lazy loading & async rendering features
which means I have to init mermaid similar to this
<script type="module"> import mermaid from '/mermaid/mermaid.esm.min.mjs'; import mindmap from '/mermaid/mermaid-mindmap.esm.min.mjs'; const conf = { startOnLoad: true, }; async function loadMermaid() { await mermaid.registerExternalDiagrams([mindmap]); mermaid.initialize(conf); } await loadMermaid(); </script>
Can we add a config to make it insert above script when needed ? I can try to make a PR if you think it is worth adding.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Newer mind map graph uses lazy loading & async rendering features
which means I have to init mermaid similar to this
Can we add a config to make it insert above script when needed ? I can try to make a PR if you think it is worth adding.
The text was updated successfully, but these errors were encountered: