git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #134 from adunning/patch-1

Update reveal.js template from 3.1 source.

commit319b641365d23a3a5f84c569a35dbaeef4362b9b authorJohn MacFarlane <jgm@berkeley.edu> dateWed 14 Oct 2015, 20:46 (11 years ago) parent16a172dd104c53
1 file changed+151−31
default.revealjs+151−31
default.revealjs+151−31
@@ -1,18 +1,18 @@
11<!DOCTYPE html>
2−<html$if(lang)$ lang="$lang$"$endif$>
2+<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
33<head>
44 <meta charset="utf-8">
55 <meta name="generator" content="pandoc">
66$for(author-meta)$
7− <meta name="author" content="$author-meta$" />
7+ <meta name="author" content="$author-meta$">
88$endfor$
99$if(date-meta)$
10− <meta name="dcterms.date" content="$date-meta$" />
10+ <meta name="dcterms.date" content="$date-meta$">
1111$endif$
12− <title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
13− <meta name="apple-mobile-web-app-capable" content="yes" />
14− <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
15− <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
12+ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
13+ <meta name="apple-mobile-web-app-capable" content="yes">
14+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
15+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
1616 <link rel="stylesheet" href="$revealjs-url$/css/reveal.css"/>
1717 <style type="text/css">code{white-space: pre;}</style>
1818$if(highlighting-css)$
@@ -28,15 +28,13 @@ $endif$
2828$for(css)$
2929 <link rel="stylesheet" href="$css$"/>
3030$endfor$
31− <!-- If the query includes 'print-pdf', include the PDF print sheet -->
31+ <!-- Printing and PDF exports -->
3232 <script>
33− if( window.location.search.match( /print-pdf/gi ) ) {
34− var link = document.createElement( 'link' );
35− link.rel = 'stylesheet';
36− link.type = 'text/css';
37− link.href = '$revealjs-url$/css/print/pdf.css';
38− document.getElementsByTagName( 'head' )[0].appendChild( link );
39− }
33+ var link = document.createElement( 'link' );
34+ link.rel = 'stylesheet';
35+ link.type = 'text/css';
36+ link.href = window.location.search.match( /print-pdf/gi ) ? '$revealjs-url$/css/print/pdf.css' : '$revealjs-url$/css/print/paper.css';
37+ document.getElementsByTagName( 'head' )[0].appendChild( link );
4038 </script>
4139 <!--[if lt IE 9]>
4240 <script src="$revealjs-url$/lib/js/html5shiv.js"></script>
@@ -77,32 +75,154 @@ $body$
7775 </div>
7876 </div>
7977
80−
8178 <script src="$revealjs-url$/lib/js/head.min.js"></script>
8279 <script src="$revealjs-url$/js/reveal.js"></script>
8380
8481 <script>
8582
86− // Full list of configuration options available here:
83+ // Full list of configuration options available at:
8784 // https://github.com/hakimel/reveal.js#configuration
8885 Reveal.initialize({
89− controls: $if(controls)$$controls$$else$true$endif$, // Display controls in the bottom right corner
90− progress: $if(progress)$$progress$$else$true$endif$, // Display a presentation progress bar
91− history: true, // Push each slide change to the browser history
92− center: $if(center)$$center$$else$false$endif$, // Vertical centering of slides
93− maxScale: $if(maxScale)$$maxScale$$else$1.5$endif$, // Bounds for smallest/largest possible content scale
94− slideNumber: $if(slideNumber)$true$else$false$endif$, // Display the page number of the current slide
95− theme: $if(theme)$'$theme$'$else$Reveal.getQueryHash().theme$endif$, // available themes are in /css/theme
96− transition: $if(transition)$'$transition$'$else$Reveal.getQueryHash().transition || 'default'$endif$, // default/cube/page/concave/zoom/linear/fade/none
86+$if(controls)$
87+ // Display controls in the bottom right corner
88+ controls: $controls$,
89+$endif$
90+$if(progress)$
91+ // Display a presentation progress bar
92+ progress: $progress$,
93+$endif$
94+$if(slideNumber)$
95+ // Display the page number of the current slide
96+ slideNumber: $slideNumber$,
97+$endif$
98+$if(history)$
99+ // Push each slide change to the browser history
100+ history: $history$,
101+$endif$
102+$if(keyboard)$
103+ // Enable keyboard shortcuts for navigation
104+ keyboard: $keyboard$,
105+$endif$
106+$if(overview)$
107+ // Enable the slide overview mode
108+ overview: $overview$,
109+$endif$
110+$if(center)$
111+ // Vertical centering of slides
112+ center: $center$,
113+$endif$
114+$if(touch)$
115+ // Enables touch navigation on devices with touch input
116+ touch: $touch$,
117+$endif$
118+$if(loop)$
119+ // Loop the presentation
120+ loop: $loop$,
121+$endif$
122+$if(rtl)$
123+ // Change the presentation direction to be RTL
124+ rtl: $rtl$,
125+$endif$
126+$if(fragments)$
127+ // Turns fragments on and off globally
128+ fragments: $fragments$,
129+$endif$
130+$if(embedded)$
131+ // Flags if the presentation is running in an embedded mode,
132+ // i.e. contained within a limited portion of the screen
133+ embedded: $embedded$,
134+$endif$
135+$if(help)$
136+ // Flags if we should show a help overlay when the questionmark
137+ // key is pressed
138+ help: $help$,
139+$endif$
140+$if(showNotes)$
141+ // Flags if speaker notes should be visible to all viewers
142+ showNotes: $showNotes$,
143+$endif$
144+$if(autoSlide)$
145+ // Number of milliseconds between automatically proceeding to the
146+ // next slide, disabled when set to 0, this value can be overwritten
147+ // by using a data-autoslide attribute on your slides
148+ autoSlide: $autoSlide$,
149+$endif$
150+$if(autoSlideStoppable)$
151+ // Stop auto-sliding after user input
152+ autoSlideStoppable: $autoSlideStoppable$,
153+$endif$
154+$if(mouseWheel)$
155+ // Enable slide navigation via mouse wheel
156+ mouseWheel: $mouseWheel$,
157+$endif$
158+$if(hideAddressBar)$
159+ // Hides the address bar on mobile devices
160+ hideAddressBar: $hideAddressBar$,
161+$endif$
162+$if(previewLinks)$
163+ // Opens links in an iframe preview overlay
164+ previewLinks: $previewLinks$,
165+$endif$
166+$if(transition)$
167+ // Transition style
168+ transition: '$transition$', // none/fade/slide/convex/concave/zoom
169+$endif$
170+$if(transitionSpeed)$
171+ // Transition speed
172+ transitionSpeed: '$transitionSpeed$', // default/fast/slow
173+$endif$
174+$if(backgroundTransition)$
175+ // Transition style for full page slide backgrounds
176+ backgroundTransition: '$backgroundTransition$', // none/fade/slide/convex/concave/zoom
177+$endif$
178+$if(viewDistance)$
179+ // Number of slides away from the current that are visible
180+ viewDistance: $viewDistance$,
181+$endif$
182+$if(parallaxBackgroundImage)$
183+ // Parallax background image
184+ parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
185+$endif$
186+$if(parallaxBackgroundSize)$
187+ // Parallax background size
188+ parallaxBackgroundSize: '$parallaxBackgroundSize$', // CSS syntax, e.g. "2100px 900px"
189+$endif$
190+$if(parallaxBackgroundHorizontal)$
191+ // Amount to move parallax background (horizontal and vertical) on slide change
192+ // Number, e.g. 100
193+ parallaxBackgroundHorizontal: '$parallaxBackgroundHorizontal$',
194+$endif$
195+$if(parallaxBackgroundVertical)$
196+ parallaxBackgroundVertical: '$parallaxBackgroundVertical$',
197+$endif$
198+$if(width)$
199+ // The "normal" size of the presentation, aspect ratio will be preserved
200+ // when the presentation is scaled to fit different resolutions. Can be
201+ // specified using percentage units.
202+ width: $width$,
203+$endif$
204+$if(height)$
205+ height: $height$,
206+$endif$
207+$if(margin)$
208+ // Factor of the display size that should remain empty around the content
209+ margin: $margin$,
210+$endif$
211+$if(minScale)$
212+ // Bounds for smallest/largest possible scale to apply to content
213+ minScale: $minScale$,
214+$endif$
215+$if(maxScale)$
216+ maxScale: $maxScale$,
217+$endif$
97218
98− // Optional libraries used to extend on reveal.js
219+ // Optional reveal.js plugins
99220 dependencies: [
100221 { src: '$revealjs-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } },
101− { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
102− { src: '$revealjs-url$/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
103−// { src: '$revealjs-url$/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; }, }
104−// { src: '$revealjs-url$/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
105−]});
222+ { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true },
223+ { src: '$revealjs-url$/plugin/notes/notes.js', async: true }
224+ ]
225+ });
106226 </script>
107227 $for(include-after)$
108228 $include-after$