rougail-output-doc/tests/docs/examples/00_2default_calculated_multi.md

38 lines
477 B
Markdown
Raw Normal View History

2024-11-15 08:13:45 +01:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: 1.1
var1: # a first variable
- no
- yes
- maybe
var2:
description: a second variable
multi: true
default:
jinja: |
{% for val in _.var1 %}
{{ val }}
{% endfor %}
description: the value of _.var1
```
# Example with all variables modifiable
```yaml
---
rougail:
var1:
- no
- yes
- maybe
var2:
- no
- yes
- maybe
```