21 lines
418 B
YAML
21 lines
418 B
YAML
---
|
|
- name: Spec Example 2.13. In literals, newlines are preserved
|
|
from: http://www.yaml.org/spec/1.2/spec.html#id2759963
|
|
tags: spec scalar literal comment
|
|
yaml: |
|
|
# ASCII Art
|
|
--- |
|
|
\//||\/||
|
|
// || ||__
|
|
tree: |
|
|
+STR
|
|
+DOC ---
|
|
=VAL |\\//||\\/||\n// || ||__\n
|
|
-DOC
|
|
-STR
|
|
json: |
|
|
"\\//||\\/||\n// || ||__\n"
|
|
dump: |
|
|
--- |
|
|
\//||\/||
|
|
// || ||__
|