None of the above solutions worked for me, in a YAML file within a Jekyll project. After trying many options, I realized that an HTML injection with <br>
might do as well, since in the end everything is rendered to HTML:
name: |
In a village of La Mancha <br>
whose name I don't <br>
want to remember.
At least it works for me. No idea on the problems associated to this approach.