How to include a multi line string in YAML

published May 10, 2016 11:39   by admin ( last modified May 10, 2016 11:39 )

Put just a pipe character on the first line:

foo: |

Then add the string, indented on the following lines:

foo: |
    bar
    baz
    bletch
    flum