@aucampia Please take this for a spin.
git clone --single-branch -b hugo-forum-topic-36924 https://github.com/jmooring/hugo-testing hugo-forum-topic-36924
cd hugo-forum-topic-36924
hugo server
The shortcode can be used with content:
{{< kroki type="actdiag" >}}
{
write -> convert -> image
lane user {
label = "User"
write [label = "Writing reST"];
image [label = "Get diagram IMAGE"];
}
lane actdiag {
convert [label = "Convert reST to Image"];
}
}
{{< /kroki >}}
Or by pointing at a page resource:
{{< kroki type="actdiag" file="diagram-a.txt" >}}
This wasn’t possible prior to the introduction of resources.GetRemote
in v0.90.0.