Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (28 sloc) 600 Bytes
=== Spec Example 2.18. Multi-line Flow Scalars
--- from: http://www.yaml.org/spec/1.2/spec.html#id2761268
--- tags: spec scalar
--- in-yaml
plain:
This unquoted scalar
spans many lines.
quoted: "So does this
quoted scalar.\n"
--- in-json
{
"plain": "This unquoted scalar spans many lines.",
"quoted": "So does this quoted scalar.\n"
}
--- out-yaml
plain: This unquoted scalar spans many lines.
quoted: "So does this quoted scalar.\n"
--- test-event
+STR
+DOC
+MAP
=VAL :plain
=VAL :This unquoted scalar spans many lines.
=VAL :quoted
=VAL "So does this quoted scalar.\n
-MAP
-DOC
-STR
You can’t perform that action at this time.