-
Notifications
You must be signed in to change notification settings - Fork 9
/
demo.json
137 lines (137 loc) · 3.22 KB
/
demo.json
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"$schema": "./assets/json-schema.json",
"title": "My New Talk",
"presenter": "Joel Lord",
"date": "November 25, 2019",
"conference": "This Event",
"location": "Ottawa, Canada",
"company": "MongoDB",
"twitter": {
"presenter": "@joel__lord",
"event": "#EventHashtag"
},
"frame": {
"top": {
"center": "title"
},
"bottom": {
"left": ["twitter.presenter", "twitter.event"],
"center": "company"
}
},
"slides": [
{
"type": "code",
"title": "Slide Title",
"text": "Description for this code sample",
"code": "[green]npm install[reset] [reverse]-g[reset] [cyan]cli-slides[reset]"
},
{
"type": "code",
"title": "Slide Title",
"multistep": true,
"multistepType": "highlight",
"text": "Highlighted snippets displayed one at a time",
"code": "[reverse]npm install[reset] [reverse]-g[reset] [reverse]cli-slides[reset]",
"notes": "You can also add footer notes"
},
{
"type": "code",
"title": "Slide Title",
"multistep": true,
"multistepType": "line",
"text": "Description for this code sample",
"code": [
"[green]$[reset] npm -v",
"[green]$[reset] npm install cli-slides",
"[green]$[reset] npx cli-slides ./demo.json"
],
"notes": "You can also add footer notes"
},
{
"type": "diagram",
"title": "Slide Title",
"diagram": [
"-----------------------------",
"| Box A |",
"-----------------------------",
" | ",
" v ",
"-----------------------------",
"| Box B |",
"-----------------------------" ]
},
{
"type": "list",
"title": "Title of the slide",
"multistep": true,
"list": [
"Item number 1",
"Item number 2",
"Item number 3"
]
},
{
"type": "speaking",
"character": "over-cubbie",
"text": "Hey there! I'm over-cubbie"
},
{
"type": "speaking",
"character": "me",
"text": "And I'm... 'me'"
},
{
"type": "speaking",
"character": "me-oh-no",
"text": "Oh noes!"
},
{
"type": "speaking",
"character": "silly-face",
"text": "What's going on?"
},
{
"type": "speaking",
"character": "scream",
"text": "OMG"
},
{
"type": "simple",
"title": "Slide Title",
"text": "You can use a long string here, text will wrap. \n\nOr use \\n for multiple lines"
},
{
"type": "split",
"left": {
"title": "Left Side Title",
"list": [
"Item 1",
"Item 2",
"Item 3"
]
},
"right": {
"text": [
"You can put some text here",
"or maybe a diagram",
"",
"Sky's the limit"
]
}
},
{
"type": "terminal",
"title": "Terminal Inside The Terminal",
"text": "You can run some shell commands here. Try 'ls'."
},
{
"type": "title",
"title": "CLI Slides"
},
{
"type": "titleOnly",
"title": "New Section"
}
]
}