Is it possible to generate Mermaid images in the Hugo build process

https://discourse.gohugo.io/t/is-there-some-pre-packaged-way-to-use-kroki-from-markdown/36924/5