changeset 256:6d662eb908c9

Merge pull request #89 from onlyjob/reveal.js reveal.js: add new configurable options and comments:
author John MacFarlane <jgm@berkeley.edu>
date Tue, 31 Mar 2015 15:47:54 -0700
parents 314660acba5c (current diff) 9cf01b3e75d0 (diff)
children d840ba40ea18 40d4d6f7c093
files
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/default.revealjs	Mon Feb 16 19:57:17 2015 -0800
+++ b/default.revealjs	Tue Mar 31 15:47:54 2015 -0700
@@ -86,10 +86,12 @@
       // Full list of configuration options available here:
       // https://github.com/hakimel/reveal.js#configuration
       Reveal.initialize({
-        controls: true,
-        progress: true,
-        history: true,
-        center: true,
+        controls: true,         // Display controls in the bottom right corner
+        progress: true,         // Display a presentation progress bar
+        history: true,          // Push each slide change to the browser history
+        center: $if(center)$$center$$else$true$endif$,                       // Vertical centering of slides
+        maxScale: $if(maxScale)$$maxScale$$else$1.5$endif$,                  // Bounds for smallest/largest possible content scale
+        slideNumber: $if(slideNumber)$true$else$false$endif$,                // Display the page number of the current slide
         theme: $if(theme)$'$theme$'$else$Reveal.getQueryHash().theme$endif$, // available themes are in /css/theme
         transition: $if(transition)$'$transition$'$else$Reveal.getQueryHash().transition || 'default'$endif$, // default/cube/page/concave/zoom/linear/fade/none