Lists

There are two ways to create lists in YAML files, using newlines/dashes and using brackets/commas.

Lists Using Dashes

---
- "Apple"
- "Banana"
- "Green Bean"
- "Pineapple"
- "Grape"

Lists Using Brackets And Commas

---
["Apple", "Banana", "Green Bean", "Pineapple", "Grape"]

Create Lists Within Lists

Nested list item should be indented two spaces.

---
- "Apple":
  - "Fuji"
  - "Granny"
  - "Green"
  - "Honeybrook"
- "Banana"
- "Green Bean"
- "Pineapple"
- "Grape"