Learn

_list

Create a comma-separated list of values.

The _list shortcut will turn a simple YAML list into a comma-separated list.

Sample Usage

Input

tools:
  - hammer
  - pick axe
  - mallet
  - pocket knife

Tag

{{ tools_list }}

Displayed Result

hammer, pick axe, mallet, pocket knife

This article was last updated on March 30th, 2016. Find an error? Please let us know!