%YAML 1.1 --- - name: spec-05-07 yaml: | literal: | text folded: > text tree: | +STR +DOC +MAP =VAL :literal =VAL |text\n =VAL :folded =VAL >text\n -MAP -DOC -STR - name: spec-05-07-canonical yaml: | %YAML 1.1 --- !!map { ? !!str "literal" : !!str "text\n", ? !!str "folded" : !!str "text\n", } tree: | +STR +DOC --- +MAP {} =VAL "literal =VAL "text\n =VAL "folded =VAL "text\n -MAP -DOC -STR