In YAML, how do I break a string over multiple lines? -
in yaml, have string that's long. want keep within 80-column (or so) view of editor, i'd break string. what's syntax this?
in other words, have this:
key: 'this very very very long string'
and i'd have (or effect):
key: 'this very ' + 'long string'
i'd use quotes above, don't need escape within string.
using yaml folded style, each line break replaced space. indention in each line ignored.
> long sentence spans several lines in yaml rendered string without carriage returns.
http://symfony.com/doc/current/components/yaml/yaml_format.html
Comments
Post a Comment