-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Upgrade mermaid.js version and/or make configurable #3171
Comments
Thanks for reporting. I'll see if we can allow the author to load Mermaid via |
Fixed in |
thanks @squidfunk! |
I've added support for providing a custom Mermaid.js version in extra_javascript:
- https://unpkg.com/mermaid@8.8.0/dist/mermaid.min.js |
Released as part of 7.3.6-insiders-3.2.1. |
Some versions breaking change Which should be reproduced with:
extra_javascript:
- https://unpkg.com/mermaid@10.3.0/dist/mermaid.min.js |
Mermaid 10 currently does not work. It's blocked by #5758. |
Contribution guidelines
I want to suggest an idea and checked that ...
Description
Currently
https://unpkg.com/mermaid@8.8.4/dist/mermaid.min.js
is packaged for mermaid integration, which is almost a year old. This version does not render some graphs correctly, which I see is fixed in later versions (tested with 8.12.0, but not exhaustively).In addition to a one-time bump, it would also be nice if a path could be provided in
mkdocs.yml
in order to have finer-grained control over the version and avoid trustingunpkg.com
if I want to self-host.Use Cases
Screenshots / Mockups
No response
The text was updated successfully, but these errors were encountered: