@@ -89,6 +89,20 @@ $if(controls)$
89 // Display controls in the bottom right corner
89 // Display controls in the bottom right corner
90 controls: $controls$,
90 controls: $controls$,
92+$if(controlsTutorial)$
93+ // Help the user learn the controls by providing hints, for example by
94+ // bouncing the down arrow when they first encounter a vertical slide
95+ controlsTutorial: $controlsTutorial$,
98+ // Determines where controls appear, "edges" or "bottom-right"
99+ controlsLayout: $controlsLayout$,
101+$if(controlsBackArrows)$
102+ // Visibility rule for backwards navigation arrows; "faded", "hidden"
104+ controlsBackArrows: $controlsBackArrows$,
92$if(progress)$
106$if(progress)$
93 // Display a presentation progress bar
107 // Display a presentation progress bar
94 progress: $progress$,
108 progress: $progress$,
@@ -96,6 +110,11 @@ $endif$
96$if(slideNumber)$
110$if(slideNumber)$
97 // Display the page number of the current slide
111 // Display the page number of the current slide
98 slideNumber: $slideNumber$,
112 slideNumber: $slideNumber$,
115+ // Add the current slide number to the URL hash so that reloading the
116+ // page/copying the URL will return you to the same slide
100 // Push each slide change to the browser history
119 // Push each slide change to the browser history
101$if(history)$
120$if(history)$
@@ -131,10 +150,19 @@ $if(navigationMode)$
131 // see https://github.com/hakimel/reveal.js/#navigation-mode
150 // see https://github.com/hakimel/reveal.js/#navigation-mode
132 navigationMode: '$navigationMode$',
151 navigationMode: '$navigationMode$',
154+ // Randomizes the order of slides each time the presentation loads
134$if(fragments)$
157$if(fragments)$
135 // Turns fragments on and off globally
158 // Turns fragments on and off globally
136 fragments: $fragments$,
159 fragments: $fragments$,
162+ // Flags whether to include the current fragment in the URL,
163+ // so that reloading brings you to the same fragment position
164+ fragmentInURL: $fragmentInURL$,
138$if(embedded)$
166$if(embedded)$
139 // Flags if the presentation is running in an embedded mode,
167 // Flags if the presentation is running in an embedded mode,
140 // i.e. contained within a limited portion of the screen
168 // i.e. contained within a limited portion of the screen
@@ -149,6 +177,21 @@ $if(showNotes)$
149 // Flags if speaker notes should be visible to all viewers
177 // Flags if speaker notes should be visible to all viewers
150 showNotes: $showNotes$,
178 showNotes: $showNotes$,
181+ // Global override for autoplaying embedded media (video/audio/iframe)
182+ // - null: Media will only autoplay if data-autoplay is present
183+ // - true: All media will autoplay, regardless of individual setting
184+ // - false: No media will autoplay, regardless of individual setting
185+ autoPlayMedia: $autoPlayMedia$,
188+ // Global override for preloading lazy-loaded iframes
189+ // - null: Iframes with data-src AND data-preload will be loaded when within
190+ // the viewDistance, iframes with only data-src will be loaded when visible
191+ // - true: All iframes with data-src will be loaded when within the viewDistance
192+ // - false: All iframes with data-src will be loaded only when visible
193+ preloadIframes: $preloadIframes$,
152$if(autoSlide)$
195$if(autoSlide)$
153 // Number of milliseconds between automatically proceeding to the
196 // Number of milliseconds between automatically proceeding to the
154 // next slide, disabled when set to 0, this value can be overwritten
197 // next slide, disabled when set to 0, this value can be overwritten
@@ -159,6 +202,31 @@ $if(autoSlideStoppable)$
159 // Stop auto-sliding after user input
202 // Stop auto-sliding after user input
160 autoSlideStoppable: $autoSlideStoppable$,
203 autoSlideStoppable: $autoSlideStoppable$,
205+$if(autoSlideMethod)$
206+ // Use this method for navigation when auto-sliding
207+ autoSlideMethod: $autoSlideMethod$,
210+ // Specify the average time in seconds that you think you will spend
211+ // presenting each slide. This is used to show a pacing timer in the
213+ defaultTiming: $defaultTiming$,
216+ // Specify the total time in seconds that is available to
217+ // present. If this is set to a nonzero value, the pacing
218+ // timer will work out the time available for each slide,
219+ // instead of using the defaultTiming value
220+ totalTime: $totalTime$,
222+$if(minimumTimePerSlide)$
223+ // Specify the minimum amount of time you want to allot to
224+ // each slide, if using the totalTime calculation method. If
225+ // the automated time allocation causes slide pacing to fall
226+ // below this threshold, then you will see an alert in the
227+ // speaker notes window
228+ minimumTimePerSlide: $minimumTimePerSlide$,
162$if(mouseWheel)$
230$if(mouseWheel)$
163 // Enable slide navigation via mouse wheel
231 // Enable slide navigation via mouse wheel
164 mouseWheel: $mouseWheel$,
232 mouseWheel: $mouseWheel$,
@@ -167,6 +235,14 @@ $if(rollingLinks)$
167 // Apply a 3D roll to links on hover
235 // Apply a 3D roll to links on hover
168 rollingLinks: $rollingLinks$,
236 rollingLinks: $rollingLinks$,
238+$if(hideInactiveCursor)$
239+ // Hide cursor if inactive
240+ hideInactiveCursor: $hideInactiveCursor$,
243+ // Time before the cursor is hidden (in ms)
244+ hideCursorTime: $hideCursorTime$,
170$if(hideAddressBar)$
246$if(hideAddressBar)$
171 // Hides the address bar on mobile devices
247 // Hides the address bar on mobile devices
172 hideAddressBar: $hideAddressBar$,
248 hideAddressBar: $hideAddressBar$,
@@ -191,6 +267,12 @@ $if(viewDistance)$
191 // Number of slides away from the current that are visible
267 // Number of slides away from the current that are visible
192 viewDistance: $viewDistance$,
268 viewDistance: $viewDistance$,
270+$if(mobileViewDistance)$
271+ // Number of slides away from the current that are visible on mobile
272+ // devices. It is advisable to set this to a lower number than
273+ // viewDistance in order to save resources.
274+ mobileViewDistance: $mobileViewDistance$,
194$if(parallaxBackgroundImage)$
276$if(parallaxBackgroundImage)$
195 // Parallax background image
277 // Parallax background image
196 parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
278 parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
@@ -236,6 +318,10 @@ $if(zoomKey)$
236 // Modifier key used to click-zoom to part of the slide
318 // Modifier key used to click-zoom to part of the slide
237 zoomKey: '$zoomKey$',
319 zoomKey: '$zoomKey$',
322+ // The display mode that will be used to show slides
239$if(mathjax)$
325$if(mathjax)$
241 mathjax: '$mathjaxurl$',
327 mathjax: '$mathjaxurl$',