D2 is declarative language to generate diagrams, it's like mermaid on steroids, it has a cli so it's easy to use. Hugo doesn't support it at the moment of writing this, there is an open issue where the conversation is being done. So in the meantime official support is added we're going to make our own integration. It will have 2 parts: A little HTTP server that receives the d2 code and return a resulting SVG A custom hugo code block render hook A simple HTTP server in go This server only uses...