lavergnetho , to random
@lavergnetho@fediscience.org avatar

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 documentation !

https://mermaid.live/

lavergnetho OP ,
@lavergnetho@fediscience.org avatar

Unfortunately I already ran into my first "bummer" with Mermaid.

The diagrams render nicely in the HTML version of the @ProjectJupyter , but we did not get the export to PDF (via HTML and pyppeteer) to work 😩 .

lavergnetho OP ,
@lavergnetho@fediscience.org avatar

The fastest "solution" is to use mermaid.live to save a .png of the diagram, and include the .png itself in the .

Works for HTML and exports nicely to PDF, but it slightly defeats the point of using for programmable diagrams...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines