Closed xdaluca closed 2 years ago
I changed the syntax following the plantuml plug-in but I get a mermaid version error.
and I guess could be related to this https://github.com/mermaid-js/mermaid/issues/3025 ?
mdbook-mermaid bundles mermaid.js 9.1.1, which includes a fix for https://github.com/mermaid-js/mermaid/issues/3025, as can also seen in that error display. It also says "Syntax error in graph", so maybe you mistyped something in the mermaid code block?
mermaid-cmd
is not something mdbook
recognizes. This just means the command
is unset, so it will default to mdbook-mermaid
(as per the docs).
Maybe mdbook-mermaid
was simply not correctly in your path? Or you have some typo or invisible character in that first config.
Anyway, this all doesn't sound like an issue with this crate really, but please do re-open the bug with more info if you have some.
I followed all the installation steps however, it seems like mdbook is not recognizing the mdbook-mermaid command to render the mermaid code when serving it on localhost.
Here is a screenshot, any chance it requires a specific update?