mkdocs-mermaid2-plugin icon indicating copy to clipboard operation
mkdocs-mermaid2-plugin copied to clipboard

ZenUML: Using "Custom loader" leads to endless loops

Open PlasmaHH opened this issue 1 year ago • 6 comments

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?

PlasmaHH avatar May 03 '24 07:05 PlasmaHH

Thank you for your contribution! This is very appreciated.

github-actions[bot] avatar May 03 '24 07:05 github-actions[bot]

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.

fralau avatar Jun 03 '24 11:06 fralau

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

PlasmaHH avatar Jun 14 '24 09:06 PlasmaHH

Zenuml?

fralau avatar Jun 14 '24 13:06 fralau

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/[email protected]/dist/mermaid-zenuml.esm.min.mjs';

PlasmaHH avatar Jun 14 '24 19:06 PlasmaHH

I never tried ZenUML 🤔 .

This matter would require a follow-up.

fralau avatar Jun 15 '24 06:06 fralau