Yaml
A cheatsheet by @rstacruz|Refreshed about 3 years ago.Refresh|View source on Github

Multiline strings

Multiline strings

Multiline: |
  hello
  world

Inheritance

Inheritance

parent: &defaults
  a: 2
  b: 3

child:
  <<: *defaults
  b: 4

Reference content

Reference content

values: &ref
  - These values
  - will be reused below
  
other_values:
  <<: *ref