Skip to content
New issue

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

Support for ZenUML diagrams #166

Open
jwatt opened this issue Nov 16, 2024 · 3 comments
Open

Support for ZenUML diagrams #166

jwatt opened this issue Nov 16, 2024 · 3 comments

Comments

@jwatt
Copy link

jwatt commented Nov 16, 2024

Could configuration to enable the newer ZenUML support be added?

According to the Integrating with your library/website section of https://mermaid.js.org/syntax/zenuml.html it involves something like this:

<script type="module">
  import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
  import zenuml from 'https://cdn.jsdelivr.net/npm/@mermaid-js/mermaid-zenuml@0.1.0/dist/mermaid-zenuml.esm.min.mjs';
  await mermaid.registerExternalDiagrams([zenuml]);
</script>
@jwatt
Copy link
Author

jwatt commented Nov 16, 2024

(Similar request to #98.)

@timkpaine
Copy link
Collaborator

Yes I think this would be quite easy to do. I will see about a refactor as the inline JS has gotten a little complicated, but now that we got 1.0 out perhaps we can do a bit of a cleanup for 1.1

@jwatt
Copy link
Author

jwatt commented Nov 16, 2024

That sounds great. Thank you for the very prompt reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants