YAML formatting
Some information about the formatting style of YAML
Introduction
Examples
# Strings can be written in plain
key: value
# But it's preffered to put them inside of apostrophes
key: 'value'
# To escape an apostrophe, you can simply use 2 of them
key: 'Value''s sheep'
# You can make a multi-line using the > (mt/more than) symbol
key: >
val
ue
# Or you can add a \n after every line using the | (pipe) symbol
key: |
val
ue
# You can also use " (double quotes)
key: "Several lines of text,\n
containing \"double quotes\". Escapes (like \\n) work.\nIn addition,\n
newlines can be esc\\n
aped to prevent them from being converted to a space.\n
\n
Newlines can also be added by leaving a blank line.\n
Leading whitespace on lines is ignored."\n
Last updated