List of parameters of Hugo Kroki Module.
Become a backer or sponsor to support our work.
params.kroki.endpoint| Name | Context | Type | Required | Default | Since | Example |
|---|---|---|---|---|---|---|
params.kroki.endpoint | - | string | - | https://kroki.io/ | - | - |
The endpoint of Kroki instance.
params.kroki.output| Name | Context | Type | Required | Default | Since | Example |
|---|---|---|---|---|---|---|
params.kroki.output | - | string | - | inline | - | - |
The inline generates inline <svg> element, while embed / img / object generates <embed> / <img> / <object> element.
Available options: inline, embed.
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}