Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
=== Spec Example 8.2. Block Indentation Indicator [1.3]
--- from: R4YG, modified for YAML 1.3
--- tags: spec literal folded scalar libyaml-err 1.3-mod whitespace
--- in-yaml
- |
detected
- >
<SPC>
<SPC><SPC>
# detected
- |1
explicit
- >
detected
--- in-json
[
"detected\n",
"\n\n# detected\n",
" explicit\n",
"detected\n"
]
--- emit-yaml
- |
detected
- >2
# detected
- |2
explicit
- >
detected
--- test-event
+STR
+DOC
+SEQ
=VAL |detected\n
=VAL >\n\n# detected\n
=VAL | explicit\n
=VAL >detected\n
-SEQ
-DOC
-STR