Renders a list of the given array.
Name | Type | Description |
---|---|---|
of | string[] | The list items |
prefix | string|null | (Optional) The list prefix |
Documentation source:
{{ list(of:['one', 'two', 'three']) }}
{{ list(of:['one', 'two', 'three'], prefix: '+ ') }}
Result:
- one
- two
- three
+ one
+ two
+ three