repo.or.cz
/
pyyaml
/
python3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add an example: yaml highlight script.
[pyyaml/python3.git]
/
tests
/
data
/
spec-08-09.canonical
blob
3805daf01d44d204a9d04406fabd21953c256b60
1
%YAML 1.1
2
--- !!map {
3
? !!str "scalars" : !!map {
4
? !!str "plain"
5
: !!str "some text",
6
? !!str "quoted"
7
: !!map {
8
? !!str "single"
9
: !!str "some text",
10
? !!str "double"
11
: !!str "some text"
12
} },
13
? !!str "collections" : !!map {
14
? !!str "sequence" : !!seq [
15
!!str "entry",
16
!!map {
17
? !!str "key" : !!str "value"
18
} ],
19
? !!str "mapping" : !!map {
20
? !!str "key" : !!str "value"
21
} } }