21zoo Labs - Assorted Stuff

How to define multiline strings in yaml/yml

Posted — Nov 14, 2017
key: >
  a very very
  long string

–> "a very very long string"

And with literal newlines:

key: |
  another very very
  long string

–> "another very very\nlong string"