From f51a985b211cab0af4fbb5a0b208ec0c60382644 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Tue, 31 Mar 2015 19:40:38 +1100 Subject: reveal.js: add new configurable options and comments: * Made option "center" configurable. * Added new options "maxScale" and "slideNumber". * Added comments to existing options. Signed-off-by: Dmitry Smirnov --- default.revealjs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index c26837928..7e2a3b30e 100644 --- a/default.revealjs +++ b/default.revealjs @@ -86,10 +86,12 @@ $body$ // 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 -- cgit v1.2.3