-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
215 lines (155 loc) Β· 8.06 KB
/
index.html
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/reveal.min.js"
integrity="sha512-131e3mIrDAyUD075SVzvIjS0g97uDg0+/qAobDHd++h+lgFi4z88DVOpidm06jpb+0PzK4kcm9w79r6EHV0SkA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/reveal.min.css"
integrity="sha512-ITH3NSfntO7uI5n+BnxGNXpzDUoOsmAXuG37UDONLxNYIdc0EBBOOQ1xyc+t9ag9ETSuBXFApx+Rod0uURfDYw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/theme/moon.min.css"
integrity="sha512-mzpbI+YpB+bIH9gpH3cBq4u5+YvyAikkgAR4SODr5ZpzBZZtLddurEa5LoJRqRfVc6IUfqj6klr0e9KJjUtKHw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/plugin/highlight/highlight.min.js"
integrity="sha512-U3fPDUX5bMrn1wnYqjaK44MFA9E6MKS+zPAg9WPAGF5XhReBeDj3FGaA831CjueG+YJxYA3WaO/m33kMIoOs/A=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/plugin/highlight/monokai.min.css"
integrity="sha512-z8wQkuDRFwCBfoj7KOiu1MECaRVoXx6rZQWL21x0BsVVH7JkqCp1Otf39qve6CrCycOOL5o9vgfII5Smds23rg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/plugin/notes/notes.min.js"
integrity="sha512-nLsCkPS/rdxRVOkxiKnld9KhQ24V/5kRChzSZ3MoFODykbWyBlQRsHLrbpN3J4LabYBnXIp1EnRIo3ifvyiQIg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.3.1/plugin/markdown/markdown.min.js"
integrity="sha512-QAU7Ux8iEB53koLKFCtddfFp0D1+uQWoX3ROnRDLeiE98XHOkMciaup0Spc014jQAuJaqz8VjUZdBqriheI4Lg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<title>Slidee</title>
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-markdown data-separator="^---\s+?$" data-separator-vertical="^\|\|\|\s+?$" data-separator-notes="^- Notes:|^### Notes:">
<script type="text/template">
## Markdown slides
Each slide is separated by: <br>
--- <br>
Hit s to see the notes <br>
Hit f to go full screen
### Notes:
Markdown Code for this slide:
```
## Markdown slides
Each slide is separated by: <br>
--- <br>
Hit s to see the notes <br>
Hit f to go full screen
```
---
Vertical slides are separated by <br>
||| <br>
Take a look below <br>
π
### Notes:
Markdown Code for this slide:
```
Vertical slides are separated by <br>
||| <br>
Take a look below <br>
π
```
|||
Keep going...
### Notes:
Markdown Code for this slide:
```
Keep going...
```
|||
Hi there π
### Notes:
Markdown Code for this slide:
```
Hi there π
```
---
You can make a slide editable <br>
Try it out here <!-- .element: contenteditable="true" -->
### Notes:
Markdown Code for this slide:
```
You can make a slide editable <br>
Try it out here <!-- .element: contenteditable="true" -->
```
---
![](https://web.archive.org/web/20211114072425if_/https://images.thestar.com/content/dam/thestar/business/2013/09/18/grumpy_cat_rewarded_for_persistent_frowning_gets_endorsement_deal/grumpy_cat.jpg)
### Notes:
Landscape images will fill the slide nicely
Markdown Code for this slide:
```
![](IMAGE_URL)
```
---
Images with text need to be stretched.
We need to use a smidgen of HTML for this
<img class="r-stretch" src="https://web.archive.org/web/20211114072425if_/https://images.thestar.com/content/dam/thestar/business/2013/09/18/grumpy_cat_rewarded_for_persistent_frowning_gets_endorsement_deal/grumpy_cat.jpg">
### Notes:
Reveal's `r-stretch` class calculates the right size for the image
Markdown Code for this slide:
```
Images with text need to be stretched.
We need to use a smidgen of HTML for this
<img class="r-stretch" src="https://web.archive.org/web/20211114072425if_/https://images.thestar.com/content/dam/thestar/business/2013/09/18/grumpy_cat_rewarded_for_persistent_frowning_gets_endorsement_deal/grumpy_cat.jpg">
```
---
<img class="r-stretch" src="https://mymodernmet.com/wp/wp-content/uploads/2017/09/dog-portraits-alexander-khokhlov-2.jpg">
### Notes:
Vertical images also need to be stretched to fit
Markdown Code for this slide:
```
<img class="r-stretch" src="https://mymodernmet.com/wp/wp-content/uploads/2017/09/dog-portraits-alexander-khokhlov-2.jpg">
```
---
We can embed web content too
<iframe class="r-stretch" width="560" height="315" src="https://www.youtube.com/embed/INscMGmhmX4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
### Notes:
Markdown Code for this slide:
```
We can embed web content too
<iframe class="r-stretch" width="560" height="315" src="https://www.youtube.com/embed/INscMGmhmX4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
```
---
And we can show beautifully highlighted code
```js []
function add(x,y){
return x + y;
}
```
### Notes:
Markdown Code for this slide:
```
And we can show beautifully highlighted code
```js []
function add(x,y){
return x + y;
}
```
```
---
Lots more to explore at [reveal.js](https://revealjs.com/)
</script>
</section>
</div>
</div>
<script>
let deck = new Reveal({
plugins: [RevealMarkdown, RevealHighlight, RevealNotes],
hash: true,
hashOneBasedIndex: true,
});
deck.initialize();
</script>
</body>
</html>