Back to Chezmoi

`toIni` *value*

assets/chezmoi.io/docs/reference/templates/functions/toIni.md

2.70.2332 B
Original Source

toIni value

toIni returns the ini representation of value, which must be a dict.

!!! example

```
{{ dict "key" "value" "section" (dict "subkey" "subvalue") | toIni }}
```

!!! warning

The ini format is not well defined, and the particular variant generated
by `toIni` might not be suitable for you.