Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (40 sloc) 633 Bytes
=== Spec Example 6.4. Line Prefixes
--- from: http://www.yaml.org/spec/1.2/spec.html#id2778720
--- tags: spec scalar literal double upto-1.2
--- in-yaml
plain: text
lines
quoted: "text
<TAB>lines"
block: |
text
<TAB>lines
--- in-json
{
"plain": "text lines",
"quoted": "text lines",
"block": "text\n \tlines\n"
}
--- out-yaml
plain: text lines
quoted: "text lines"
block: "text\n \tlines\n"
--- emit-yaml
plain: text lines
quoted: "text lines"
block: |
text
<TAB>lines
--- test-event
+STR
+DOC
+MAP
=VAL :plain
=VAL :text lines
=VAL :quoted
=VAL "text lines
=VAL :block
=VAL |text\n \tlines\n
-MAP
-DOC
-STR
You can’t perform that action at this time.