YAML stands for YAML Ain't Markup Language.
It is a human-readable data serialization language commonly used for configuration files.
YAML uses Python-style indentation to specify nesting.
Spaces only; tabs are not allowed.
Comments after "start line sharp" or "space sharp"
#comments to end of line
text #comments start after a space then a sharp
List items after "dash space"
- list item A
- list item B
- list item C
#or
[item A, item B, item C]
Dictionary or map elements after "colon space"
settings:
color: Red
weight: Bold
#or
settings: {color: Red, weight: Bold}
True values:
yes
True
TRUE
False values:
no
False
FALSE
YAML lines can span multiple text lines if they are split with pipe "|" or greater than ">"
sentence: >
The quick brown
fox jumped over
the lazy dog.
Pipe "|" will preserve new line characters.
Greater than ">" will not.