@@ -90,198 +90,256 @@ $endif$
9090 // Full list of configuration options available at:
9191 // https://revealjs.com/config/
9292 Reveal.initialize({
93+$if(center)$
94+ // Determines whether slide content should be vertically centered
95+ center: $center$,
96+$endif$
97+$if(controls)$
9398 // Display controls in the bottom right corner
9499 controls: $controls$,
95−
100+$endif$
101+$if(controlsTutorial)$
96102 // Help the user learn the controls by providing hints, for example by
97103 // bouncing the down arrow when they first encounter a vertical slide
98104 controlsTutorial: $controlsTutorial$,
99−
105+$endif$
106+$if(controlsLayout)$
100107 // Determines where controls appear, "edges" or "bottom-right"
101108 controlsLayout: '$controlsLayout$',
102−
109+$endif$
110+$if(controlsBackArrows)$
103111 // Visibility rule for backwards navigation arrows; "faded", "hidden"
104112 // or "visible"
105113 controlsBackArrows: '$controlsBackArrows$',
106−
114+$endif$
115+$if(progress)$
107116 // Display a presentation progress bar
108117 progress: $progress$,
109−
118+$endif$
119+$if(slideNumber)$
110120 // Display the page number of the current slide
111121 slideNumber: $slideNumber$,
112−
122+$endif$
123+$if(showSlideNumber)$
113124 // 'all', 'print', or 'speaker'
114125 showSlideNumber: '$showSlideNumber$',
115−
126+$endif$
116127 // Add the current slide number to the URL hash so that reloading the
117128 // page/copying the URL will return you to the same slide
118− hash: $hash$,
119−
129+ hash: $if(hash)$$hash$$else$true$endif$,
130+$if(hashOneBasedIndex)$
120131 // Start with 1 for the hash rather than 0
121132 hashOneBasedIndex: $hashOneBasedIndex$,
122−
123− // Flags if we should monitor the hash and change slides accordingly
124− respondToHashChanges: $respondToHashChanges$,
125−
133+$endif$
134+$if(history)$
126135 // Push each slide change to the browser history
127136 history: $history$,
128−
137+$endif$
138+$if(keyboard)$
129139 // Enable keyboard shortcuts for navigation
130140 keyboard: $keyboard$,
131−
141+$endif$
142+$if(overview)$
132143 // Enable the slide overview mode
133144 overview: $overview$,
134−
135− // Disables the default reveal.js slide layout (scaling and centering)
136− // so that you can use custom CSS layout
137− disableLayout: false,
138−
145+$endif$
146+$if(center)$
139147 // Vertical centering of slides
140148 center: $center$,
141−
149+$endif$
150+$if(touch)$
142151 // Enables touch navigation on devices with touch input
143152 touch: $touch$,
144−
153+$endif$
154+$if(loop)$
145155 // Loop the presentation
146156 loop: $loop$,
147−
157+$endif$
158+$if(rtl)$
148159 // Change the presentation direction to be RTL
149160 rtl: $rtl$,
150−
161+$endif$
162+$if(navigationMode)$
151163 // see https://revealjs.com/vertical-slides/#navigation-mode
152164 navigationMode: '$navigationMode$',
153−
165+$endif$
166+$if(shuffle)$
154167 // Randomizes the order of slides each time the presentation loads
155168 shuffle: $shuffle$,
156−
169+$endif$
170+$if(fragments)$
157171 // Turns fragments on and off globally
158172 fragments: $fragments$,
159−
173+$endif$
174+$if(fragmentInURL)$
160175 // Flags whether to include the current fragment in the URL,
161176 // so that reloading brings you to the same fragment position
162177 fragmentInURL: $fragmentInURL$,
163−
178+$endif$
179+$if(embedded)$
164180 // Flags if the presentation is running in an embedded mode,
165181 // i.e. contained within a limited portion of the screen
166182 embedded: $embedded$,
167−
183+$endif$
184+$if(help)$
168185 // Flags if we should show a help overlay when the questionmark
169186 // key is pressed
170187 help: $help$,
171−
172− // Flags if it should be possible to pause the presentation (blackout)
173− pause: $pause$,
174−
188+$endif$
189+$if(pause)$
190+ // Flags if it should be possible to pause the presentation (blackout)
191+ pause: $pause$,
192+$endif$
193+$if(showNotes)$
175194 // Flags if speaker notes should be visible to all viewers
176195 showNotes: $showNotes$,
177−
178− // Global override for autoplaying embedded media (null/true/false)
196+$endif$
197+$if(autoPlayMedia)$
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
179202 autoPlayMedia: $autoPlayMedia$,
180−
181− // Global override for preloading lazy-loaded iframes (null/true/false)
203+$endif$
204+$if(preloadIframes)$
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
182210 preloadIframes: $preloadIframes$,
183−
211+$endif$
212+$if(autoSlide)$
184213 // Number of milliseconds between automatically proceeding to the
185214 // next slide, disabled when set to 0, this value can be overwritten
186215 // by using a data-autoslide attribute on your slides
187216 autoSlide: $autoSlide$,
188−
217+$endif$
218+$if(autoSlideStoppable)$
189219 // Stop auto-sliding after user input
190220 autoSlideStoppable: $autoSlideStoppable$,
191−
221+$endif$
222+$if(autoSlideMethod)$
192223 // Use this method for navigation when auto-sliding
193224 autoSlideMethod: $autoSlideMethod$,
194−
225+$endif$
226+$if(defaultTiming)$
195227 // Specify the average time in seconds that you think you will spend
196228 // presenting each slide. This is used to show a pacing timer in the
197229 // speaker view
198230 defaultTiming: $defaultTiming$,
199−
231+$endif$
232+$if(totalTime)$
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$,
238+$endif$
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$,
246+$endif$
247+$if(mouseWheel)$
200248 // Enable slide navigation via mouse wheel
201249 mouseWheel: $mouseWheel$,
202−
203− // The display mode that will be used to show slides
204− display: '$display$',
205−
250+$endif$
251+$if(rollingLinks)$
252+ // Apply a 3D roll to links on hover
253+ rollingLinks: $rollingLinks$,
254+$endif$
255+$if(hideInactiveCursor)$
206256 // Hide cursor if inactive
207257 hideInactiveCursor: $hideInactiveCursor$,
208−
258+$endif$
259+$if(hideCursorTime)$
209260 // Time before the cursor is hidden (in ms)
210261 hideCursorTime: $hideCursorTime$,
211−
262+$endif$
263+$if(hideAddressBar)$
264+ // Hides the address bar on mobile devices
265+ hideAddressBar: $hideAddressBar$,
266+$endif$
267+$if(previewLinks)$
212268 // Opens links in an iframe preview overlay
213269 previewLinks: $previewLinks$,
214−
215− // Transition style (none/fade/slide/convex/concave/zoom)
216− transition: '$transition$',
217−
218− // Transition speed (default/fast/slow)
219− transitionSpeed: '$transitionSpeed$',
220−
270+$endif$
271+$if(transition)$
272+ // Transition style
273+ transition: '$transition$', // none/fade/slide/convex/concave/zoom
274+$endif$
275+$if(transitionSpeed)$
276+ // Transition speed
277+ transitionSpeed: '$transitionSpeed$', // default/fast/slow
278+$endif$
279+$if(backgroundTransition)$
221280 // Transition style for full page slide backgrounds
222− // (none/fade/slide/convex/concave/zoom)
223− backgroundTransition: '$backgroundTransition$',
224−
281+ backgroundTransition: '$backgroundTransition$', // none/fade/slide/convex/concave/zoom
282+$endif$
283+$if(viewDistance)$
225284 // Number of slides away from the current that are visible
226285 viewDistance: $viewDistance$,
227−
286+$endif$
287+$if(mobileViewDistance)$
228288 // Number of slides away from the current that are visible on mobile
229289 // devices. It is advisable to set this to a lower number than
230290 // viewDistance in order to save resources.
231291 mobileViewDistance: $mobileViewDistance$,
292+$endif$
232293$if(parallaxBackgroundImage)$
233−
234294 // Parallax background image
235295 parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
236296$else$
237297$if(background-image)$
238−
239298 // Parallax background image
240299 parallaxBackgroundImage: '$background-image$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
241300$endif$
242301$endif$
243302$if(parallaxBackgroundSize)$
244−
245303 // Parallax background size
246304 parallaxBackgroundSize: '$parallaxBackgroundSize$', // CSS syntax, e.g. "2100px 900px"
247305$endif$
248306$if(parallaxBackgroundHorizontal)$
249−
250307 // Amount to move parallax background (horizontal and vertical) on slide change
251308 // Number, e.g. 100
252309 parallaxBackgroundHorizontal: $parallaxBackgroundHorizontal$,
253310$endif$
254311$if(parallaxBackgroundVertical)$
255−
256312 parallaxBackgroundVertical: $parallaxBackgroundVertical$,
257313$endif$
258314$if(width)$
259−
260315 // The "normal" size of the presentation, aspect ratio will be preserved
261316 // when the presentation is scaled to fit different resolutions. Can be
262317 // specified using percentage units.
263318 width: $width$,
264319$endif$
265320$if(height)$
266−
267321 height: $height$,
268322$endif$
269323$if(margin)$
270−
271324 // Factor of the display size that should remain empty around the content
272325 margin: $margin$,
273326$endif$
274327$if(minScale)$
275−
276328 // Bounds for smallest/largest possible scale to apply to content
277329 minScale: $minScale$,
278330$endif$
279331$if(maxScale)$
280−
281332 maxScale: $maxScale$,
282333$endif$
334+$if(zoomKey)$
335+ // Modifier key used to click-zoom to part of the slide
336+ zoomKey: '$zoomKey$',
337+$endif$
338+$if(display)$
339+ // The display mode that will be used to show slides
340+ display: '$display$',
341+$endif$
283342$if(mathjax)$
284−
285343 math: {
286344 mathjax: '$mathjaxurl$',
287345 config: 'TeX-AMS_HTML-full',