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

<head>
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
    <meta charset="utf-8"/>
    <meta name="description" content=""/>
    <meta name="author" content=""/>

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

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

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

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

    <!-- Printing and PDF exports -->
    <script>
        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);
    </script>

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

    <!-- Init Reveal.js -->
    <script>
        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
                    }
                ]
            });
        });
    </script>
JackV's avatar
JackV committed
87
88
</head>

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