D2 : A modern diagram scripting language
I came across D2 on Mastodon I think. (Like most things. But I can’t find the original toot ๐คทโโ)
I used mermaid.js earlier. In fact, I also added mermaid support for this theme.
Benefit of Mermaid is that since it is generated by mermaid.js, I don’t need
to save and include the image in my blog (and worry about mismatched filename
and/or path, resulting into broken image.)
On the other hand, not many hugo themes support mermaid, but link to an image is supported by hugo and every other SSG.