How to write a multiline string in YAML
Learn, how to write a multiline string in YAML.
To write a multiline string in YAML, we can use the folded style >
where each line break is replaced by a space.
Here is an example:
Key: >
you can write
multiline strings
like this in yaml.
Similarly, you can also write it like this.
Key: >-
you can write
multiline strings
like this in yaml.