-
Notifications
You must be signed in to change notification settings - Fork 15
/
yaml.yaml
64 lines (56 loc) · 1.06 KB
/
yaml.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Lists maps and atom
---
# List of animals in cartoons
- cat
- dog
- mouse
- snake
- monkey
- bear
... # this is the end of a yamle file
--- # this is the start of a new yaml file
# Maps key value data
name: leon
weight: 75kg
height: 5'9"
eyes: 2
legs: also 2
is-alive: true
# Hierachy of list and maps
names:
- leon
- Alfie
- Thomas
- James
- James
- Farhana
pets:
- moose
- cow
- oxen
- elephant
- amoeba
# List of maps
- name: "leon"
height: 5'9"
weight: 75kg
- name: "Fred"
height: 4'11"
weight: 90kg
- name: "Janet"
height: 6'11"
weight: 83kg
# multiline map
- poem: |
Whose girl is that? I think I know.
Its owner is quite happy though.
Full of joy like a vivid rainbow,
I watch him laugh. I cry hello.
- poem: |
He gives his girl a shake,
And laughs until her belly aches.
The only other sound's the break,
Of distant waves and birds awake.
# from https://www.poem-generator.org.uk/?i=1784atd7
# Note: The opinions of the poem regarding a girl being a
# thing that is owned is not endorsed by myself or my company