dauxio / daux.io

Daux.io is an documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way.
https://daux.io/
MIT License
795 stars 196 forks source link

Single page export mermaid diagrams and charts #347

Open hirisov opened 1 year ago

hirisov commented 1 year ago

When exporting to single page HTML the "source" of the mermaid charts and diagrams are generated in the file, instead of a PNG or SVG.

It would be nice to generate an embedded image instead, it seems to me with https://github.com/mermaid-js/mermaid-cli it should be possible.

onigoetz commented 1 year ago

Hi, this is a bit more complex to pull off, but I'm exploring something similar for plantuml, I'll have a look into this during the next month

hirisov commented 1 year ago

Hi, thanks for the feedback, PlantUML also looks like a great tool, is it possible to use it with daux.io? Seems even better than mermaid.

onigoetz commented 1 year ago

Not yet, but there is an issue ( #342 ) open for that