fralau / mkdocs-mermaid2-plugin

A Mermaid graphs plugin for mkdocs
https://mkdocs-mermaid2.readthedocs.io
MIT License
220 stars 28 forks source link

ZenUML: Using "Custom loader" leads to endless loops #105

Open PlasmaHH opened 7 months ago

PlasmaHH commented 7 months ago

I was trying to use mermaids zenuml stuff and for that one has to add some extra javascript ( see bottom of https://mermaid.js.org/syntax/zenuml.html ) ... upon adding some in the extra_javascript this plugin seems to detect it and when building via mkdocs it spits out "MERMAID2 - Custom loader activated" in an endless stream and doesn't stop...

PS: mermaid is at version 10.9.0 PPS: maybe this could be solved by integrating all the optional extra features of mermaid as parameters to this plugin so it can import the modules themselves?

github-actions[bot] commented 7 months ago

Thank you for your contribution! This is very appreciated.

fralau commented 6 months ago

Thank you.

We would need more details, especially the name of the additional library?

Ideally, it would be good to have a minimal example to replicate that error.

PlasmaHH commented 5 months ago

I am not quite sure what you mean by "additional library" ?

fralau commented 5 months ago

Zenuml?

PlasmaHH commented 5 months ago

According to the mermaid documentation https://mermaid.js.org/syntax/zenuml.html#integrating-with-your-library-website it is part of mermaid and the url used there certainly looks like it too: 'https://cdn.jsdelivr.net/npm/@mermaid-js/mermaid-zenuml@0.1.0/dist/mermaid-zenuml.esm.min.mjs';

fralau commented 5 months ago

I never tried ZenUML 🤔 .

This matter would require a follow-up.