Browse Docs

Configure Hugo Kroki Module

List of parameters of Hugo Kroki Module.

Site Configuration

params.kroki.endpoint

NameContextTypeRequiredDefaultSinceExample
params.kroki.endpoint-string-https://kroki.io/--

The endpoint of Kroki instance.

params.kroki.output

NameContextTypeRequiredDefaultSinceExample
params.kroki.output-string-inline--

The inline generates inline <svg> element, while embed generates <embed> element.

Available options: inline, embed.

Site Configuration Example

hugo.yaml

1params:
2  kroki:
3    endpoint: https://kroki.io/
4    output: inline

hugo.toml

1[params]
2  [params.kroki]
3    endpoint = 'https://kroki.io/'
4    output = 'inline'

hugo.json

1{
2   "params": {
3      "kroki": {
4         "endpoint": "https://kroki.io/",
5         "output": "inline"
6      }
7   }
8}