index.html 3.59 KB
Newer Older
JackV's avatar
JackV committed
1
2
3
<!doctype html>

<head>
4
5
6
	<meta charset="utf-8"/>
	<meta content="" name="description"/>
	<meta content="" name="author"/>
7

8
9
10
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
	<meta content="yes" name="apple-mobile-web-app-capable"/>
	<meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"/>
11

12
13
	<!-- reveal.js base stylesheel. Don't remove nor edit this. -->
	<link href="./reveal.js/css/reveal.css" rel="stylesheet"/>
14

15
16
	<!-- POuL theme for reveal.js -->
	<link href="./poul/css/poul.css" id="theme" rel="stylesheet"/>
17

18
19
	<!-- Code syntax highlighting -->
	<link href="./reveal.js/lib/css_highlight/hopscotch.css" rel="stylesheet"/>
20

21
22
	<!-- Printing and PDF exports -->
	<script>
23
24
25
26
27
        let link = document.createElement('link');
        link.rel = 'stylesheet';
        link.href = window.location.search.match(/print-pdf/gi)
            ? './poul/css/print/pdf.css' : './poul/css/print/paper.css';
        document.getElementsByTagName('head')[0].appendChild(link);
28
	</script>
29

30
31
	<script src="./reveal.js/lib/js/head.min.js"></script>
	<script src="./reveal.js/js/reveal.js"></script>
32

33
34
	<!-- Init Reveal.js -->
	<script>
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
        document.addEventListener("DOMContentLoaded", () => {
            Reveal.initialize({
                controls: false,
                slideNumber: true,
                history: true,
                transition: 'none',
                pdfMaxPagesPerSlide: 1,
                pdfSeparateFragments: false,
                display: 'flex',
                markdown: {
                    smartypants: true,
                },
                keyboard: {
                    38: 'prev',  // Up arrow
                    40: 'next'   // Down arrow
                },
                math: {
                    mathjax: './reveal.js/lib/js/mathjax/MathJax.js',
                    config: 'TeX-AMS_HTML-full'  // See http://docs.mathjax.org/en/latest/config-files.html
                },
                dependencies: [
                    {
                        src: './reveal.js/plugin/markdown/marked.js',
                        condition: function () {
                            return !!document.querySelector('[data-markdown]');
                        }
                    },
                    {
                        src: './reveal.js/plugin/markdown/markdown.js',
                        condition: function () {
                            return !!document.querySelector('[data-markdown]');
                        }
                    },
                    {
                        src: './reveal.js/plugin/highlight/highlight.js',
                        async: true,
                        callback: function () {
                            hljs.initHighlightingOnLoad();
                        }
                    },
                    {
                        src: './reveal.js/plugin/notes/notes.js',
                        async: true
                    },
                    {
                        src: './reveal.js/plugin/math/math.js',
                        async: true
                    }
                ]
            });
        });
86
	</script>
JackV's avatar
JackV committed
87
88
</head>

89
<div class="reveal">
90
91
92
93
94
95
96
97
98
99
	<div class="slides">
		<section data-markdown="./slides/intro.html"></section>
		<section data-charset="utf-8"
		         data-markdown="./slides/content.md"
		         data-separator="^\r?\n---\r?\n$"
		         data-separator-notes="^Notes:"
		         data-separator-vertical="^\r?\n----\r?\n$">
		</section>
		<section data-markdown="./slides/outro.html"></section>
	</div>
100
</div>
101
102

<a class="printable-version" href="?print-pdf"></a>