Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (31 sloc) 550 Bytes
=== Spec Example 6.5. Empty Lines
--- from: http://www.yaml.org/spec/1.2/spec.html#id2778971
--- tags: spec scalar upto-1.2
--- in-yaml(+)
Folding:
"Empty line
<TAB>
as a line feed"
Chomping: |
Clipped empty lines
<SPC>
--- in-json
{
"Folding": "Empty line\nas a line feed",
"Chomping": "Clipped empty lines\n"
}
--- out-yaml
Folding: "Empty line\nas a line feed"
Chomping: |
Clipped empty lines
--- test-event
+STR
+DOC
+MAP
=VAL :Folding
=VAL "Empty line\nas a line feed
=VAL :Chomping
=VAL |Clipped empty lines\n
-MAP
-DOC
-STR
You can’t perform that action at this time.