badboy / mdbook-mermaid

A preprocessor for mdbook to add mermaid support
Mozilla Public License 2.0
306 stars 32 forks source link

how to upgrade to latest mermaid version 9.1.1? #19

Closed man-chi closed 2 years ago

man-chi commented 2 years ago

the current version support mermaid seemed to be 8.13.10. a number of diagram are not able to generate successfully, such as sequence, gantt, git, er, user journey. may I know how can I upgrade from mermaid 8.13.10 to 9.1.1?

badboy commented 2 years ago

I did just that yesterday: https://github.com/badboy/mdbook-mermaid/commit/681231131766b04f8c5c7ff271e48b3f533a6330 That's why #18 was automatically closed.

In your own project you can simply swap out the mermaid.min.js file. (or remove it and call mdbook-mermaid install again).