@@ -90,198 +90,256 @@ $endif$
90 // Full list of configuration options available at:
90 // Full list of configuration options available at:
91 // https://revealjs.com/config/
91 // https://revealjs.com/config/
92 Reveal.initialize({
92 Reveal.initialize({
94+ // Determines whether slide content should be vertically centered
93 // Display controls in the bottom right corner
98 // Display controls in the bottom right corner
94 controls: $controls$,
99 controls: $controls$,
101+$if(controlsTutorial)$
96 // Help the user learn the controls by providing hints, for example by
102 // Help the user learn the controls by providing hints, for example by
97 // bouncing the down arrow when they first encounter a vertical slide
103 // bouncing the down arrow when they first encounter a vertical slide
98 controlsTutorial: $controlsTutorial$,
104 controlsTutorial: $controlsTutorial$,
100 // Determines where controls appear, "edges" or "bottom-right"
107 // Determines where controls appear, "edges" or "bottom-right"
101 controlsLayout: '$controlsLayout$',
108 controlsLayout: '$controlsLayout$',
110+$if(controlsBackArrows)$
103 // Visibility rule for backwards navigation arrows; "faded", "hidden"
111 // Visibility rule for backwards navigation arrows; "faded", "hidden"
104 // or "visible"
112 // or "visible"
105 controlsBackArrows: '$controlsBackArrows$',
113 controlsBackArrows: '$controlsBackArrows$',
107 // Display a presentation progress bar
116 // Display a presentation progress bar
108 progress: $progress$,
117 progress: $progress$,
110 // Display the page number of the current slide
120 // Display the page number of the current slide
111 slideNumber: $slideNumber$,
121 slideNumber: $slideNumber$,
123+$if(showSlideNumber)$
113 // 'all', 'print', or 'speaker'
124 // 'all', 'print', or 'speaker'
114 showSlideNumber: '$showSlideNumber$',
125 showSlideNumber: '$showSlideNumber$',
116 // Add the current slide number to the URL hash so that reloading the
127 // Add the current slide number to the URL hash so that reloading the
117 // page/copying the URL will return you to the same slide
128 // page/copying the URL will return you to the same slide
118− hash: $hash$,
129+ hash: $if(hash)$$hash$$else$true$endif$,
119−
130+$if(hashOneBasedIndex)$
120 // Start with 1 for the hash rather than 0
131 // Start with 1 for the hash rather than 0
121 hashOneBasedIndex: $hashOneBasedIndex$,
132 hashOneBasedIndex: $hashOneBasedIndex$,
123− // Flags if we should monitor the hash and change slides accordingly
134+$if(history)$
124− respondToHashChanges: $respondToHashChanges$,
126 // Push each slide change to the browser history
135 // Push each slide change to the browser history
127 history: $history$,
136 history: $history$,
129 // Enable keyboard shortcuts for navigation
139 // Enable keyboard shortcuts for navigation
130 keyboard: $keyboard$,
140 keyboard: $keyboard$,
132 // Enable the slide overview mode
143 // Enable the slide overview mode
133 overview: $overview$,
144 overview: $overview$,
135− // Disables the default reveal.js slide layout (scaling and centering)
146+$if(center)$
136− // so that you can use custom CSS layout
137− disableLayout: false,
139 // Vertical centering of slides
147 // Vertical centering of slides
140 center: $center$,
148 center: $center$,
142 // Enables touch navigation on devices with touch input
151 // Enables touch navigation on devices with touch input
143 touch: $touch$,
152 touch: $touch$,
145 // Loop the presentation
155 // Loop the presentation
146 loop: $loop$,
156 loop: $loop$,
148 // Change the presentation direction to be RTL
159 // Change the presentation direction to be RTL
149 rtl: $rtl$,
160 rtl: $rtl$,
151 // see https://revealjs.com/vertical-slides/#navigation-mode
163 // see https://revealjs.com/vertical-slides/#navigation-mode
152 navigationMode: '$navigationMode$',
164 navigationMode: '$navigationMode$',
154 // Randomizes the order of slides each time the presentation loads
167 // Randomizes the order of slides each time the presentation loads
155 shuffle: $shuffle$,
168 shuffle: $shuffle$,
157 // Turns fragments on and off globally
171 // Turns fragments on and off globally
158 fragments: $fragments$,
172 fragments: $fragments$,
160 // Flags whether to include the current fragment in the URL,
175 // Flags whether to include the current fragment in the URL,
161 // so that reloading brings you to the same fragment position
176 // so that reloading brings you to the same fragment position
162 fragmentInURL: $fragmentInURL$,
177 fragmentInURL: $fragmentInURL$,
164 // Flags if the presentation is running in an embedded mode,
180 // Flags if the presentation is running in an embedded mode,
165 // i.e. contained within a limited portion of the screen
181 // i.e. contained within a limited portion of the screen
166 embedded: $embedded$,
182 embedded: $embedded$,
168 // Flags if we should show a help overlay when the questionmark
185 // Flags if we should show a help overlay when the questionmark
169 // key is pressed
186 // key is pressed
170 help: $help$,
187 help: $help$,
172− // Flags if it should be possible to pause the presentation (blackout)
190+ // Flags if it should be possible to pause the presentation (blackout)
173− pause: $pause$,
191+ pause: $pause$,
175 // Flags if speaker notes should be visible to all viewers
194 // Flags if speaker notes should be visible to all viewers
176 showNotes: $showNotes$,
195 showNotes: $showNotes$,
178− // Global override for autoplaying embedded media (null/true/false)
198+ // Global override for autoplaying embedded media (video/audio/iframe)
199+ // - null: Media will only autoplay if data-autoplay is present
200+ // - true: All media will autoplay, regardless of individual setting
201+ // - false: No media will autoplay, regardless of individual setting
179 autoPlayMedia: $autoPlayMedia$,
202 autoPlayMedia: $autoPlayMedia$,
181− // Global override for preloading lazy-loaded iframes (null/true/false)
205+ // Global override for preloading lazy-loaded iframes
206+ // - null: Iframes with data-src AND data-preload will be loaded when within
207+ // the viewDistance, iframes with only data-src will be loaded when visible
208+ // - true: All iframes with data-src will be loaded when within the viewDistance
209+ // - false: All iframes with data-src will be loaded only when visible
182 preloadIframes: $preloadIframes$,
210 preloadIframes: $preloadIframes$,
184 // Number of milliseconds between automatically proceeding to the
213 // Number of milliseconds between automatically proceeding to the
185 // next slide, disabled when set to 0, this value can be overwritten
214 // next slide, disabled when set to 0, this value can be overwritten
186 // by using a data-autoslide attribute on your slides
215 // by using a data-autoslide attribute on your slides
187 autoSlide: $autoSlide$,
216 autoSlide: $autoSlide$,
218+$if(autoSlideStoppable)$
189 // Stop auto-sliding after user input
219 // Stop auto-sliding after user input
190 autoSlideStoppable: $autoSlideStoppable$,
220 autoSlideStoppable: $autoSlideStoppable$,
222+$if(autoSlideMethod)$
192 // Use this method for navigation when auto-sliding
223 // Use this method for navigation when auto-sliding
193 autoSlideMethod: $autoSlideMethod$,
224 autoSlideMethod: $autoSlideMethod$,
195 // Specify the average time in seconds that you think you will spend
227 // Specify the average time in seconds that you think you will spend
196 // presenting each slide. This is used to show a pacing timer in the
228 // presenting each slide. This is used to show a pacing timer in the
197 // speaker view
229 // speaker view
198 defaultTiming: $defaultTiming$,
230 defaultTiming: $defaultTiming$,
233+ // Specify the total time in seconds that is available to
234+ // present. If this is set to a nonzero value, the pacing
235+ // timer will work out the time available for each slide,
236+ // instead of using the defaultTiming value
237+ totalTime: $totalTime$,
239+$if(minimumTimePerSlide)$
240+ // Specify the minimum amount of time you want to allot to
241+ // each slide, if using the totalTime calculation method. If
242+ // the automated time allocation causes slide pacing to fall
243+ // below this threshold, then you will see an alert in the
244+ // speaker notes window
245+ minimumTimePerSlide: $minimumTimePerSlide$,
200 // Enable slide navigation via mouse wheel
248 // Enable slide navigation via mouse wheel
201 mouseWheel: $mouseWheel$,
249 mouseWheel: $mouseWheel$,
203− // The display mode that will be used to show slides
251+$if(rollingLinks)$
204− display: '$display$',
252+ // Apply a 3D roll to links on hover
205−
253+ rollingLinks: $rollingLinks$,
255+$if(hideInactiveCursor)$
206 // Hide cursor if inactive
256 // Hide cursor if inactive
207 hideInactiveCursor: $hideInactiveCursor$,
257 hideInactiveCursor: $hideInactiveCursor$,
209 // Time before the cursor is hidden (in ms)
260 // Time before the cursor is hidden (in ms)
210 hideCursorTime: $hideCursorTime$,
261 hideCursorTime: $hideCursorTime$,
264+ // Hides the address bar on mobile devices
265+ hideAddressBar: $hideAddressBar$,
212 // Opens links in an iframe preview overlay
268 // Opens links in an iframe preview overlay
213 previewLinks: $previewLinks$,
269 previewLinks: $previewLinks$,
215− // Transition style (none/fade/slide/convex/concave/zoom)
273+ transition: '$transition$', // none/fade/slide/convex/concave/zoom
216− transition: '$transition$',
274+$endif$
217−
275+$if(transitionSpeed)$
218− // Transition speed (default/fast/slow)
276+ // Transition speed
219− transitionSpeed: '$transitionSpeed$',
277+ transitionSpeed: '$transitionSpeed$', // default/fast/slow
279+$if(backgroundTransition)$
221 // Transition style for full page slide backgrounds
280 // Transition style for full page slide backgrounds
222− // (none/fade/slide/convex/concave/zoom)
281+ backgroundTransition: '$backgroundTransition$', // none/fade/slide/convex/concave/zoom
223− backgroundTransition: '$backgroundTransition$',
282+$endif$
224−
283+$if(viewDistance)$
225 // Number of slides away from the current that are visible
284 // Number of slides away from the current that are visible
226 viewDistance: $viewDistance$,
285 viewDistance: $viewDistance$,
287+$if(mobileViewDistance)$
228 // Number of slides away from the current that are visible on mobile
288 // Number of slides away from the current that are visible on mobile
229 // devices. It is advisable to set this to a lower number than
289 // devices. It is advisable to set this to a lower number than
230 // viewDistance in order to save resources.
290 // viewDistance in order to save resources.
231 mobileViewDistance: $mobileViewDistance$,
291 mobileViewDistance: $mobileViewDistance$,
232$if(parallaxBackgroundImage)$
293$if(parallaxBackgroundImage)$
234 // Parallax background image
294 // Parallax background image
235 parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
295 parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
237$if(background-image)$
297$if(background-image)$
239 // Parallax background image
298 // Parallax background image
240 parallaxBackgroundImage: '$background-image$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
299 parallaxBackgroundImage: '$background-image$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
243$if(parallaxBackgroundSize)$
302$if(parallaxBackgroundSize)$
245 // Parallax background size
303 // Parallax background size
246 parallaxBackgroundSize: '$parallaxBackgroundSize$', // CSS syntax, e.g. "2100px 900px"
304 parallaxBackgroundSize: '$parallaxBackgroundSize$', // CSS syntax, e.g. "2100px 900px"
248$if(parallaxBackgroundHorizontal)$
306$if(parallaxBackgroundHorizontal)$
250 // Amount to move parallax background (horizontal and vertical) on slide change
307 // Amount to move parallax background (horizontal and vertical) on slide change
251 // Number, e.g. 100
308 // Number, e.g. 100
252 parallaxBackgroundHorizontal: $parallaxBackgroundHorizontal$,
309 parallaxBackgroundHorizontal: $parallaxBackgroundHorizontal$,
254$if(parallaxBackgroundVertical)$
311$if(parallaxBackgroundVertical)$
256 parallaxBackgroundVertical: $parallaxBackgroundVertical$,
312 parallaxBackgroundVertical: $parallaxBackgroundVertical$,
258$if(width)$
314$if(width)$
260 // The "normal" size of the presentation, aspect ratio will be preserved
315 // The "normal" size of the presentation, aspect ratio will be preserved
261 // when the presentation is scaled to fit different resolutions. Can be
316 // when the presentation is scaled to fit different resolutions. Can be
262 // specified using percentage units.
317 // specified using percentage units.
263 width: $width$,
318 width: $width$,
265$if(height)$
320$if(height)$
267 height: $height$,
321 height: $height$,
269$if(margin)$
323$if(margin)$
271 // Factor of the display size that should remain empty around the content
324 // Factor of the display size that should remain empty around the content
272 margin: $margin$,
325 margin: $margin$,
274$if(minScale)$
327$if(minScale)$
276 // Bounds for smallest/largest possible scale to apply to content
328 // Bounds for smallest/largest possible scale to apply to content
277 minScale: $minScale$,
329 minScale: $minScale$,
279$if(maxScale)$
331$if(maxScale)$
281 maxScale: $maxScale$,
332 maxScale: $maxScale$,
335+ // Modifier key used to click-zoom to part of the slide
336+ zoomKey: '$zoomKey$',
339+ // The display mode that will be used to show slides
340+ display: '$display$',
283$if(mathjax)$
342$if(mathjax)$
286 mathjax: '$mathjaxurl$',
344 mathjax: '$mathjaxurl$',
287 config: 'TeX-AMS_HTML-full',
345 config: 'TeX-AMS_HTML-full',