You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Styling is a PITA, will take a full day to go over.
Mermaid ESM module does not play nice with parcel. I hack included it but we get a gazillion bundle files in _static need to pair with @reakaleek and @cotti
Since this exceeded my timebox of 30minutes we will need to look into supporting this post 9.0.
Reacted by Fabrizio Ferri-Benedetti and Brandon Morelli
Activity
theletterf commentedon Apr 10, 2025
I strongly support this proposal. I implemented Mermaid diagrams for docs-as-code in the past, and they're the solution to:
Let me know if you need any help with this.
+CC @alaudazzi @bmorelli25
Mpdreamz commentedon Apr 10, 2025
We initially had support for
mermaidbut decided to rip it out. I think we are all now in favor of including this back in.cursorful-video-1744299611397.mp4
I spent a little time today adding it back in in this branch: https://github.com/elastic/docs-builder/tree/feature/mermaid-support
_staticneed to pair with @reakaleek and @cottiSince this exceeded my timebox of 30minutes we will need to look into supporting this post 9.0.
theletterf commentedon Apr 10, 2025
Re: Styling, couldn't we use the bundled styles? (Not the default one, the monochromatic ones for light and dark themes.)
Mpdreamz commentedon Apr 10, 2025
Yes no, even changing the fonts is a bit tedious (but solved on that branch)
At a minimum the colors should inherit from our theme. A day might have been an exaggeration :).
theletterf commentedon Oct 8, 2025
I think this is done by the existing diagram directive (alpha). #1599