-
Notifications
You must be signed in to change notification settings - Fork 0
/
slides.html
40 lines (34 loc) · 1.46 KB
/
slides.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Slides</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/reset.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/theme/black.css" id="theme">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugin/highlight/monokai.css"
id="highlight-theme">
</head>
<body>
<div class="reveal">
<div class="slides">
<script>
decodeURIComponent(location.search).substr(1).split(/^(?=#)/m).map(v => v.trim()).forEach(slide => {
document.write(`<section data-markdown><textarea data-template>\n${slide}\n</textarea></section>`)
});
</script>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugin/notes/notes.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugin/markdown/markdown.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugin/highlight/highlight.js"></script>
<script>
Reveal.initialize({
hash: true,
plugins: [RevealMarkdown, RevealHighlight, RevealNotes]
});
</script>
</body>
</html>