Install

Terminal
$ roq add plugin:diagram

Usage

Diagram-as-code support by leveraging Kroki.io. It delegates image rendering to Kroki either by using a provided server or by popping a dev service.

Please take a look at the full Kroki reference documentation.

Use it in your content:

{#diagram asciidoc=true language="pikchr" alt="Impossible trident" width=500 height=500 diagramOutputFormat="svg"}
scale = 1.0
eh = 0.5cm
ew = 0.2cm
...
{/}

You can either use a deployed server or let the dev services provide one for you, but in this case you won't have all languages available.