morlay / gitbook-plugin-mermaid-2

14 stars 41 forks source link

PDF/EPUB/MOBI does not show diagram #2

Open ashishWaghmare opened 8 years ago

ashishWaghmare commented 8 years ago

Mermaid 2 diagrams don't appear in pdf /mobi or epub generation. I used sample given on Read-me page. and below is my book.json

{ "gitbook": "2.6.7", "plugins": ["mermaid-2"], "links": { "sidebar": { "Contact us / Support": "https://www.gitbook.com/contact" } }, "pluginsConfig": { "mermaid-2": { "theme":"forest" } } }

morlay commented 8 years ago

Thanks reporting, I will find a way to let it could generate pure SVG in node, if I have enough time.