summaryrefslogtreecommitdiffstats
path: root/default.revealjs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-27 09:29:34 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-27 09:29:34 -0800
commitac3dc50580d7185d18dd4916782904fd733b3bfd (patch)
tree23ec8e7c0c0806fde9a07a1b1d271b814343daf8 /default.revealjs
parente7d5d8957c77e125b8a1c7eb51356542633d0796 (diff)
downloadpandoc-templates-ac3dc50580d7185d18dd4916782904fd733b3bfd.tar.gz
pandoc-templates-ac3dc50580d7185d18dd4916782904fd733b3bfd.zip
Initial commit, 2.0.5
Diffstat (limited to 'default.revealjs')
-rw-r--r--default.revealjs272
1 files changed, 272 insertions, 0 deletions
diff --git a/default.revealjs b/default.revealjs
new file mode 100644
index 0000000..9e3bc8d
--- /dev/null
+++ b/default.revealjs
@@ -0,0 +1,272 @@
1<!DOCTYPE html>
2<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
3<head>
4 <meta charset="utf-8">
5 <meta name="generator" content="pandoc">
6$for(author-meta)$
7 <meta name="author" content="$author-meta$">
8$endfor$
9$if(date-meta)$
10 <meta name="dcterms.date" content="$date-meta$">
11$endif$
12$if(keywords)$
13 <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
14$endif$
15 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
16 <meta name="apple-mobile-web-app-capable" content="yes">
17 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
18 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
19 <link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
20 <style type="text/css">
21 code{white-space: pre-wrap;}
22 span.smallcaps{font-variant: small-caps;}
23 span.underline{text-decoration: underline;}
24 div.line-block{white-space: pre-line;}
25 div.column{display: inline-block; vertical-align: top; width: 50%;}
26$if(quotes)$
27 q { quotes: "“" "”" "‘" "’"; }
28$endif$
29 </style>
30$if(highlighting-css)$
31 <style type="text/css">
32$highlighting-css$
33 </style>
34$endif$
35$if(theme)$
36 <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
37$else$
38 <link rel="stylesheet" href="$revealjs-url$/css/theme/black.css" id="theme">
39$endif$
40$for(css)$
41 <link rel="stylesheet" href="$css$"/>
42$endfor$
43 <!-- Printing and PDF exports -->
44 <script>
45 var link = document.createElement( 'link' );
46 link.rel = 'stylesheet';
47 link.type = 'text/css';
48 link.href = window.location.search.match( /print-pdf/gi ) ? '$revealjs-url$/css/print/pdf.css' : '$revealjs-url$/css/print/paper.css';
49 document.getElementsByTagName( 'head' )[0].appendChild( link );
50 </script>
51 <!--[if lt IE 9]>
52 <script src="$revealjs-url$/lib/js/html5shiv.js"></script>
53 <![endif]-->
54$if(math)$
55 $math$
56$endif$
57$for(header-includes)$
58 $header-includes$
59$endfor$
60</head>
61<body>
62$for(include-before)$
63$include-before$
64$endfor$
65 <div class="reveal">
66 <div class="slides">
67
68$if(title)$
69<section id="$idprefix$title-slide">
70 <h1 class="title">$title$</h1>
71$if(subtitle)$
72 <p class="subtitle">$subtitle$</p>
73$endif$
74$for(author)$
75 <p class="author">$author$</p>
76$endfor$
77$if(date)$
78 <p class="date">$date$</p>
79$endif$
80</section>
81$endif$
82$if(toc)$
83<section id="$idprefix$TOC">
84$table-of-contents$
85</section>
86$endif$
87
88$body$
89 </div>
90 </div>
91
92 <script src="$revealjs-url$/lib/js/head.min.js"></script>
93 <script src="$revealjs-url$/js/reveal.js"></script>
94
95 <script>
96
97 // Full list of configuration options available at:
98 // https://github.com/hakimel/reveal.js#configuration
99 Reveal.initialize({
100$if(controls)$
101 // Display controls in the bottom right corner
102 controls: $controls$,
103$endif$
104$if(progress)$
105 // Display a presentation progress bar
106 progress: $progress$,
107$endif$
108$if(slideNumber)$
109 // Display the page number of the current slide
110 slideNumber: $slideNumber$,
111$endif$
112 // Push each slide change to the browser history
113$if(history)$
114 history: $history$,
115$else$
116 history: true,
117$endif$
118$if(keyboard)$
119 // Enable keyboard shortcuts for navigation
120 keyboard: $keyboard$,
121$endif$
122$if(overview)$
123 // Enable the slide overview mode
124 overview: $overview$,
125$endif$
126$if(center)$
127 // Vertical centering of slides
128 center: $center$,
129$endif$
130$if(touch)$
131 // Enables touch navigation on devices with touch input
132 touch: $touch$,
133$endif$
134$if(loop)$
135 // Loop the presentation
136 loop: $loop$,
137$endif$
138$if(rtl)$
139 // Change the presentation direction to be RTL
140 rtl: $rtl$,
141$endif$
142$if(fragments)$
143 // Turns fragments on and off globally
144 fragments: $fragments$,
145$endif$
146$if(embedded)$
147 // Flags if the presentation is running in an embedded mode,
148 // i.e. contained within a limited portion of the screen
149 embedded: $embedded$,
150$endif$
151$if(help)$
152 // Flags if we should show a help overlay when the questionmark
153 // key is pressed
154 help: $help$,
155$endif$
156$if(showNotes)$
157 // Flags if speaker notes should be visible to all viewers
158 showNotes: $showNotes$,
159$endif$
160$if(autoSlide)$
161 // Number of milliseconds between automatically proceeding to the
162 // next slide, disabled when set to 0, this value can be overwritten
163 // by using a data-autoslide attribute on your slides
164 autoSlide: $autoSlide$,
165$endif$
166$if(autoSlideStoppable)$
167 // Stop auto-sliding after user input
168 autoSlideStoppable: $autoSlideStoppable$,
169$endif$
170$if(mouseWheel)$
171 // Enable slide navigation via mouse wheel
172 mouseWheel: $mouseWheel$,
173$endif$
174$if(hideAddressBar)$
175 // Hides the address bar on mobile devices
176 hideAddressBar: $hideAddressBar$,
177$endif$
178$if(previewLinks)$
179 // Opens links in an iframe preview overlay
180 previewLinks: $previewLinks$,
181$endif$
182$if(transition)$
183 // Transition style
184 transition: '$transition$', // none/fade/slide/convex/concave/zoom
185$endif$
186$if(transitionSpeed)$
187 // Transition speed
188 transitionSpeed: '$transitionSpeed$', // default/fast/slow
189$endif$
190$if(backgroundTransition)$
191 // Transition style for full page slide backgrounds
192 backgroundTransition: '$backgroundTransition$', // none/fade/slide/convex/concave/zoom
193$endif$
194$if(viewDistance)$
195 // Number of slides away from the current that are visible
196 viewDistance: $viewDistance$,
197$endif$
198$if(parallaxBackgroundImage)$
199 // Parallax background image
200 parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
201$endif$
202$if(parallaxBackgroundSize)$
203 // Parallax background size
204 parallaxBackgroundSize: '$parallaxBackgroundSize$', // CSS syntax, e.g. "2100px 900px"
205$endif$
206$if(parallaxBackgroundHorizontal)$
207 // Amount to move parallax background (horizontal and vertical) on slide change
208 // Number, e.g. 100
209 parallaxBackgroundHorizontal: $parallaxBackgroundHorizontal$,
210$endif$
211$if(parallaxBackgroundVertical)$
212 parallaxBackgroundVertical: $parallaxBackgroundVertical$,
213$endif$
214$if(width)$
215 // The "normal" size of the presentation, aspect ratio will be preserved
216 // when the presentation is scaled to fit different resolutions. Can be
217 // specified using percentage units.
218 width: $width$,
219$endif$
220$if(height)$
221 height: $height$,
222$endif$
223$if(margin)$
224 // Factor of the display size that should remain empty around the content
225 margin: $margin$,
226$endif$
227$if(minScale)$
228 // Bounds for smallest/largest possible scale to apply to content
229 minScale: $minScale$,
230$endif$
231$if(maxScale)$
232 maxScale: $maxScale$,
233$endif$
234$if(mathjax)$
235 math: {
236 mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
237 config: 'TeX-AMS_HTML-full',
238 tex2jax: {
239 inlineMath: [['\\(','\\)']],
240 displayMath: [['\\[','\\]']],
241 balanceBraces: true,
242 processEscapes: false,
243 processRefs: true,
244 processEnvironments: true,
245 preview: 'TeX',
246 skipTags: ['script','noscript','style','textarea','pre','code'],
247 ignoreClass: 'tex2jax_ignore',
248 processClass: 'tex2jax_process'
249 },
250 },
251$endif$
252
253 // Optional reveal.js plugins
254 dependencies: [
255 { src: '$revealjs-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } },
256 { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true },
257$if(notes-server)$
258 { src: '$revealjs-url$/socket.io/socker.io.js', async: true },
259 { src: '$revealjs-url$/plugin/notes-server/client.js', async: true },
260$endif$
261$if(mathjax)$
262 { src: '$revealjs-url$/plugin/math/math.js', async: true },
263$endif$
264 { src: '$revealjs-url$/plugin/notes/notes.js', async: true }
265 ]
266 });
267 </script>
268 $for(include-after)$
269 $include-after$
270 $endfor$
271 </body>
272</html>