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

Plugin breakes with mermaid version > 9.3.0 #3

Open
valentinvieriu opened this issue Feb 27, 2023 · 1 comment
Open

Plugin breakes with mermaid version > 9.3.0 #3

valentinvieriu opened this issue Feb 27, 2023 · 1 comment

Comments

@valentinvieriu
Copy link

It seems like the plugin breakes with mermaid 9.4.

image

@corentinleberre
Copy link
Owner

corentinleberre commented Feb 28, 2023

Hey Valentin,

Thanks for investigating the problem. Indeed Mermaid latest version seems to break docsify-mermaid and as a result break this plugin too.
To make it work again till a patch, you can downgrade the mermaid version that you are using to 9 like mentioned in this issue

<script src="https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.js"></script>

<script src="//unpkg.com/[email protected]/dist/docsify-mermaid.js"></script>
<script>mermaid.initialize({ startOnLoad: true });</script>

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

No branches or pull requests

2 participants