Skip to content

yaml overview

  • Nice examples
  • Official ref card

  • # for comments

  • indentation to indicate nesting (2 spaces)
  • list
    • [], items comma separated
    • or hyphen (-) before list members
  • associative array
    • {}, items comma separated
    • or key: value colon-centered syntax
  • list and associative array can contain nested list and associative arrays
  • "---" document separator
  • "..." end document (optional)