I have come back to this excellent StackOverflow question so many times over the years:
"How do I break a string in YAML over multiple lines?"
stackoverflow.com/questions/37…
The best answer has these highlights:
There are ~5~ ~6~ *NINE* (or 63*, depending how you count) different ways to write multi-line strings in YAML.
YAML is crazy.
And the funniest thing is I've usually ended up using the 64th option: A bash here-document with escaped newlines.