21zoo Labs - Assorted Stuff

How to define multi-line 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"