OSDN Git Service
(root)
/
twpd
/
master.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Regular updates
[twpd/master.git]
/
yaml.md
1
---
2
title: Yaml
3
category: Markup
4
layout: 2017/sheet
5
prism_languages: [yaml]
6
---
7
8
### Multiline strings
9
10
```yaml
11
Multiline: |
12
hello
13
world
14
```
15
16
### Inheritance
17
18
```yaml
19
parent: &defaults
20
a: 2
21
b: 3
22
23
child:
24
<<: *defaults
25
b: 4
26
```
27
28
### Reference content
29
30
```yaml
31
values: &ref
32
- These values
33
- will be reused below
34
35
other_values:
36
<<: *ref
37
```