deck.html 8.01 KB
Newer Older
Henrik Tramberend's avatar
Henrik Tramberend committed
1
<!DOCTYPE html>
2
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
Henrik Tramberend's avatar
Henrik Tramberend committed
3
<head>
4
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Henrik Tramberend's avatar
Henrik Tramberend committed
5
  <meta name="generator" content="pandoc">
6

Henrik Tramberend's avatar
Henrik Tramberend committed
7
$for(author-meta)$
8
  <meta name="author" content="$author-meta$">
Henrik Tramberend's avatar
Henrik Tramberend committed
9
$endfor$
10

Henrik Tramberend's avatar
Henrik Tramberend committed
11
$if(date-meta)$
12
  <meta name="dcterms.date" content="$date-meta$">
Henrik Tramberend's avatar
Henrik Tramberend committed
13
$endif$
14

15
16
17
$if(keywords)$
  <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
18

19
20
21
  <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
22
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
23
  <link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
24
25

  <!-- Reveal.js theme with white as default -->
Henrik Tramberend's avatar
Henrik Tramberend committed
26
27
28
$if(theme)$
  <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
$else$
29
  <link rel="stylesheet" href="$revealjs-url$/css/theme/white.css" id="theme">
Henrik Tramberend's avatar
Henrik Tramberend committed
30
$endif$
31
32

  <!-- Printing and PDF exports -->
Henrik Tramberend's avatar
Henrik Tramberend committed
33
  <script>
34
35
36
    var link = document.createElement( 'link' );
    link.rel = 'stylesheet';
    link.type = 'text/css';
Henrik Tramberend's avatar
Henrik Tramberend committed
37
38
    link.href = window.location.search.match( /print-pdf/gi ) ? '$revealjs-url$/css/print/pdf.css' : '$revealjs-url$/css/print/paper.css';
    document.getElementsByTagName( 'head' )[0].appendChild( link );
Henrik Tramberend's avatar
Henrik Tramberend committed
39
  </script>
40

Henrik Tramberend's avatar
Henrik Tramberend committed
41
  <!--[if lt IE 9]>
42
    <script src="$revealjs-url$/lib/js/html5shiv.js"></script>
Henrik Tramberend's avatar
Henrik Tramberend committed
43
  <![endif]-->
44

Henrik Tramberend's avatar
Henrik Tramberend committed
45
46
47
$if(math)$
  $math$
$endif$
48

49
50
51
52
53
  <style type="text/css">
  $if(quotes)$
    q { quotes: "“" "”" "‘" "’"; }
  $endif$
  </style>
54
55
56

$if(highlighting-css)$
  <!-- Pandoc uses this for syntax highlighting -->
57
58
59
  <style type="text/css">
    $highlighting-css$
  </style>
60
61
62
$endif$

  <!-- Reload on change machinery -->
63
  <script>
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
    var socket = new WebSocket("ws://" + location.host + "/reload");
    socket.onmessage = function () {
    window.location.reload(true);
    };
  </script>


  <!-- Decker's standard default CSS -->
  <link rel="stylesheet" href="$decker-support-dir$/decker.css">
  
  <!-- The last word on CSS for the power user -->
$for(css)$
  <link rel="stylesheet" href="$css$"/>
$endfor$

Henrik Tramberend's avatar
Henrik Tramberend committed
79
80
81
82
$for(header-includes)$
  $header-includes$
$endfor$
</head>
83

Henrik Tramberend's avatar
Henrik Tramberend committed
84
85
86
87
<body>
$for(include-before)$
$include-before$
$endfor$
88

Henrik Tramberend's avatar
Henrik Tramberend committed
89
90
91
92
93
  <div class="reveal">
    <div class="slides">

$if(title)$
<section>
94
  <h1 class="title">$title$</h1>
Henrik Tramberend's avatar
Henrik Tramberend committed
95
$if(subtitle)$
96
  <p class="subtitle">$subtitle$</p>
Henrik Tramberend's avatar
Henrik Tramberend committed
97
98
$endif$
$for(author)$
99
  <p class="author">$author$</p>
Henrik Tramberend's avatar
Henrik Tramberend committed
100
$endfor$
101
102
103
$if(date)$
  <p class="date">$date$</p>
$endif$
Henrik Tramberend's avatar
Henrik Tramberend committed
104
105
106
107
</section>
$endif$
$if(toc)$
<section id="$idprefix$TOC">
Henrik Tramberend's avatar
Henrik Tramberend committed
108
$table-of-contents$
Henrik Tramberend's avatar
Henrik Tramberend committed
109
110
111
112
113
114
115
116
117
118
119
</section>
$endif$

$body$
    </div>
  </div>

  <script src="$revealjs-url$/lib/js/head.min.js"></script>
  <script src="$revealjs-url$/js/reveal.js"></script>

  <script>
120
      // Full list of configuration options available at:
Henrik Tramberend's avatar
Henrik Tramberend committed
121
122
      // https://github.com/hakimel/reveal.js#configuration
      Reveal.initialize({
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
$if(controls)$
        // Display controls in the bottom right corner
        controls: $controls$,
$endif$
$if(progress)$
        // Display a presentation progress bar
        progress: $progress$,
$endif$
$if(slideNumber)$
        // Display the page number of the current slide
        slideNumber: $slideNumber$,
$endif$
$if(history)$
        // Push each slide change to the browser history
        history: $history$,
$endif$
$if(keyboard)$
        // Enable keyboard shortcuts for navigation
        keyboard: $keyboard$,
$endif$
$if(overview)$
        // Enable the slide overview mode
        overview: $overview$,
$endif$
$if(center)$
        // Vertical centering of slides
        center: $center$,
$endif$
$if(touch)$
        // Enables touch navigation on devices with touch input
        touch: $touch$,
$endif$
$if(loop)$
        // Loop the presentation
        loop: $loop$,
$endif$
$if(rtl)$
        // Change the presentation direction to be RTL
        rtl: $rtl$,
$endif$
$if(fragments)$
        // Turns fragments on and off globally
        fragments: $fragments$,
$endif$
$if(embedded)$
        // Flags if the presentation is running in an embedded mode,
        // i.e. contained within a limited portion of the screen
        embedded: $embedded$,
$endif$
$if(help)$
        // Flags if we should show a help overlay when the questionmark
        // key is pressed
        help: $help$,
$endif$
$if(showNotes)$
        // Flags if speaker notes should be visible to all viewers
        showNotes: $showNotes$,
$endif$
$if(autoSlide)$
        // Number of milliseconds between automatically proceeding to the
        // next slide, disabled when set to 0, this value can be overwritten
        // by using a data-autoslide attribute on your slides
        autoSlide: $autoSlide$,
$endif$
$if(autoSlideStoppable)$
        // Stop auto-sliding after user input
        autoSlideStoppable: $autoSlideStoppable$,
$endif$
$if(mouseWheel)$
        // Enable slide navigation via mouse wheel
        mouseWheel: $mouseWheel$,
$endif$
$if(hideAddressBar)$
        // Hides the address bar on mobile devices
        hideAddressBar: $hideAddressBar$,
$endif$
$if(previewLinks)$
        // Opens links in an iframe preview overlay
        previewLinks: $previewLinks$,
$endif$
$if(transition)$
        // Transition style
        transition: '$transition$', // none/fade/slide/convex/concave/zoom
$endif$
$if(transitionSpeed)$
        // Transition speed
        transitionSpeed: '$transitionSpeed$', // default/fast/slow
$endif$
$if(backgroundTransition)$
        // Transition style for full page slide backgrounds
        backgroundTransition: '$backgroundTransition$', // none/fade/slide/convex/concave/zoom
$endif$
$if(viewDistance)$
        // Number of slides away from the current that are visible
        viewDistance: $viewDistance$,
$endif$
$if(parallaxBackgroundImage)$
        // Parallax background image
        parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
$endif$
$if(parallaxBackgroundSize)$
        // Parallax background size
        parallaxBackgroundSize: '$parallaxBackgroundSize$', // CSS syntax, e.g. "2100px 900px"
$endif$
$if(parallaxBackgroundHorizontal)$
        // Amount to move parallax background (horizontal and vertical) on slide change
        // Number, e.g. 100
        parallaxBackgroundHorizontal: $parallaxBackgroundHorizontal$,
$endif$
$if(parallaxBackgroundVertical)$
        parallaxBackgroundVertical: $parallaxBackgroundVertical$,
$endif$
$if(width)$
        // The "normal" size of the presentation, aspect ratio will be preserved
        // when the presentation is scaled to fit different resolutions. Can be
        // specified using percentage units.
        width: $width$,
$endif$
$if(height)$
        height: $height$,
$endif$
$if(margin)$
        // Factor of the display size that should remain empty around the content
        margin: $margin$,
$endif$
$if(minScale)$
        // Bounds for smallest/largest possible scale to apply to content
        minScale: $minScale$,
$endif$
$if(maxScale)$
        maxScale: $maxScale$,
$endif$
Henrik Tramberend's avatar
Henrik Tramberend committed
255
256
257
258
259
260
$if(mathjax)$
        math: {
          mathjax: '$decker-support-dir$/MathJax-2.7/MathJax.js',
          config: 'TeX-AMS_HTML',
        },
$endif$
Henrik Tramberend's avatar
Henrik Tramberend committed
261

262
        // Optional reveal.js plugins
Henrik Tramberend's avatar
Henrik Tramberend committed
263
264
        dependencies: [
          { src: '$revealjs-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } },
265
          { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true },
Henrik Tramberend's avatar
Henrik Tramberend committed
266
$if(notes-server)$
267
268
          { src: '$revealjs-url$/socket.io/socker.io.js', async: true },
          { src: '$revealjs-url$/plugin/notes-server/client.js', async: true },
Henrik Tramberend's avatar
Henrik Tramberend committed
269
270
271
$endif$
$if(mathjax)$
          { src: '$revealjs-url$/plugin/math/math.js', async: true },
272
273
274
$endif$
$if(menu)$
          { src: '$decker-support-dir$/node_modules/reveal.js-menu/menu.js', async: true },
Henrik Tramberend's avatar
Henrik Tramberend committed
275
$endif$
276
277
278
279
          { src: '$revealjs-url$/plugin/notes/notes.js', async: true }
        ]
      });
    </script>
Henrik Tramberend's avatar
Henrik Tramberend committed
280
281
282
283
284
  $for(include-after)$
  $include-after$
  $endfor$
  </body>
</html>