If you want to use a folded scalar:
foo:
- bar
- bar2
- >
super duper long
string that I would like
to have on multiple lines
- Another item
Note that there may not be content on the line of the folded scalar’s header (the line with the >).
Alternatively, you can just use a plain scalar:
foo:
- bar
- bar2
- super duper long
string that I would like
to have on multiple lines
- Another item