lavergnetho , 5 months ago to random Today I finally gave Mermaid.js a try, with it's online diagram editor and the direct inclusion in MarkDown. What a life-changer for my #JupyterBook documentation ! https://mermaid.live/
Today I finally gave Mermaid.js a try, with it's online diagram editor and the direct inclusion in MarkDown.
What a life-changer for my #JupyterBook documentation !
https://mermaid.live/
lavergnetho OP , 4 months ago Unfortunately I already ran into my first "bummer" with Mermaid. The diagrams render nicely in the HTML version of the @ProjectJupyter #JupyterBook, but we did not get the export to PDF (via HTML and pyppeteer) to work 😩 .
Unfortunately I already ran into my first "bummer" with Mermaid.
The diagrams render nicely in the HTML version of the @ProjectJupyter #JupyterBook, but we did not get the export to PDF (via HTML and pyppeteer) to work 😩 .
lavergnetho OP , 4 months ago The fastest "solution" is to use mermaid.live to save a .png of the diagram, and include the .png itself in the #JupyterBook. Works for HTML and exports nicely to PDF, but it slightly defeats the point of using #mermaid for programmable diagrams...
The fastest "solution" is to use mermaid.live to save a .png of the diagram, and include the .png itself in the #JupyterBook.
Works for HTML and exports nicely to PDF, but it slightly defeats the point of using #mermaid for programmable diagrams...