1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
=== basic multiline
# This is just a simple one key hash.
--- yaml
a: |
ciao
a tutti
--- json
{"a":"ciao\na tutti\n"}
=== multiline with inner indentation
# This is just a simple one key hash.
--- yaml
a: |
ciao
a
tutti
--- json
{"a":"ciao\n a\ntutti\n"}
=== two multilines with variable inner indentation
# This is just a simple one key hash.
--- yaml
- |
ciao
a
tutti
- |
quanti
voi
amici
--- json
["ciao\n a\n tutti\n","quanti\n voi\namici\n"]
|