summaryrefslogtreecommitdiff
path: root/template.html
blob: 3cd6518905c1f94b38af043e61da3eaa9b241099 (plain)
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
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>%s</title>
    <link rel="icon" type="image/x-icon" href="/dist/favicon.png">
    <!-- TODO: full custom css after reset.css -->
    <!-- <link rel="stylesheet" href="dist/reset.css"> -->
    <link rel="stylesheet" href="dist/reveal.css">
    <link rel="stylesheet" href="dist/dsc.css" id="theme">
    <!-- Theme used for syntax highlighted code -->
    <link rel="stylesheet" href="dist/plugin/highlight/stackoverflow-light.css">
  </head>
  <body>
    <div class="reveal">
      <div class="slides">
        <section
          data-markdown="%s"
          data-separator="^---"
          data-separator-vertical="^--"
          data-separator-notes="^Note:"
          data-charset="utf-8">
        </section>
      </div>
    </div>

    <script src="dist/reveal.js"></script>
    <script src="dist/plugin/zoom/zoom.js"></script>
    <script src="dist/plugin/notes/notes.js"></script>
    <script src="dist/plugin/markdown/markdown.js"></script>
    <script src="dist/plugin/highlight/highlight.js"></script>
    <script src="dist/plugin/math/math.js"></script>
    <script>

      Reveal.initialize({
        controls: true,
        progress: true,
        history: true,
        center: true,
        autoAnimateEasing: 'ease-out',
        autoAnimateDuration: 0.8,
        autoAnimateUnmatched: true,
        plugins: [
          RevealZoom,
          RevealMarkdown,
          RevealHighlight,
          RevealNotes,
          RevealMath.KaTeX
        ]
      });
    </script>
  </body>
</html>