Multiline Strings

There are two types of multiline strings in YAML:

Multiline Strings Preserving Newlines

To preserve line breaks, use |.

---
|
This is a multiline
string that has
a series of line breaks.
This is a multiline
string that has
a series of line breaks.

Multiline Strings Not Preserving Newlines

To not preserve line breaks, use >.

---
>
This is a multiline
string that has
a series of line breaks.
This is a multiline string that has a series of line breaks.