Quantcast
Channel: How do I break a string in YAML over multiple lines? - Stack Overflow
Viewing all articles
Browse latest Browse all 11

How do I break a string in YAML over multiple lines?

$
0
0

I have a very long string:

Key: 'this is my very very very very very very long string'

I would like to express it over multiple shorter lines, e.g.,

Key: 'this is my very very very '+'long string'

I would like to use quotes as above, so that I don't need to escape anything within the string.


Viewing all articles
Browse latest Browse all 11

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>