Yaml
A cheatsheet by @rstacruz|Refreshed 7 months 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