Permalink
Cannot retrieve contributors at this time
=== Spec Example 8.4. Chomping Final Line Break | |
--- from: http://www.yaml.org/spec/1.2/spec.html#id2795034 | |
--- tags: spec literal scalar | |
--- in-yaml | |
strip: |- | |
text | |
clip: | | |
text | |
keep: |+ | |
text | |
--- in-json | |
{ | |
"strip": "text", | |
"clip": "text\n", | |
"keep": "text\n" | |
} | |
--- out-yaml | |
strip: |- | |
text | |
clip: | | |
text | |
keep: | | |
text | |
--- test-event | |
+STR | |
+DOC | |
+MAP | |
=VAL :strip | |
=VAL |text | |
=VAL :clip | |
=VAL |text\n | |
=VAL :keep | |
=VAL |text\n | |
-MAP | |
-DOC | |
-STR |