forked from sublimehq/Packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreview.yaml
41 lines (36 loc) · 961 Bytes
/
preview.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%YAML 1.2
%TAG !e! tag:example.com,2000:app/ # comment
%RESERVED name parameter #comment
---
- [~, null, Null, NULL, nUll,
yes, no, true, false,
0b0, +0b1_0_1, -0b1, ~, 0b, 0b2,
01, +0_761, -07, ~, 09,
0, +1, -12_345,
0x0, +0x12_34_56, -0xabcdef, ~, 0xyz, 0x,
1:20, +1:9, -1_234:59:00, ~, 1:60, :60,
0.1, +.293, -1_123.e-3, 2.234.567,
.inf, +.INF, -.Inf, .nan, ~, .inF,
.NaN, ~, .Nan,
2015-08-15, 2015-08-15 1:20:30.123, 2015-08-15T12:20:30.123-9:00,
plain scalar, 'single-quoted ('''') scalar', "double-quoted (\"\") scalar"
]
- &anchor !!omap
- 1: a
- 2: b
- foo: bar
- !!pairs
- 0: {<<: *anchor, 2: c}
- 1: a2 [also part of the plain scalar]
- 2: :another scalar {}
- !e!float 3: !<tag:example.com,2000:app/int> 1 - 3
- {? !!int '12' : value,
? !!str foo : :bar}
- - key: {more key: baz}
asdf: ~
? |-
block scalar as key
# comment here
: !!str >5
block scalar as value
...