Closed luckzylp closed 1 year ago
I might get around to updating it in repo this week.
Where's that error logged? Can you give a book example I can use to test?
the mindmaps functionality is in an external plugin: https://mermaid-js.github.io/mermaid/#/mindmap?id=integrating-with-your-librarywebsite
You will need to download that (url), add it to the additional-js
list in your book.toml
, then change your mermaid-init.js
to:
mermaid.registerExternalDiagrams([window["mermaid-mindmap"]]).then(() => mermaid.initialize({startOnLoad:true}));
Thank you very much for your guide. Now using mdbook-mermaid with mdbook can handle mindmap correctly.
I was made of the markdown files in the
for test (of course I have modified the inside part of the grammar errors before testing).
Hi
Thank you very much for this excellent preprocessor ! Thanks again.
Here, I encountered a problem. I wanted to use the Mindmaps function of mermaid. I referred to the issue solution of #18 & #19 , replaced the 9.2.2 version of assert/mermaid.min.js, recompiled mdbook mermaid, and cooperated with mdbook. However, when I encountered Mindmaps, I would still prompt "Syntax error in graph mermaid version 9.2.2". Could you give me some advice on how to upgrade? Thanks.