How to define multiline strings in yaml/yml

Nov, 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"