git.iko.soy/typeable/pandoc
on master help sign in
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 <onlyjob@member.fsf.org>

commitf51a985b211cab0af4fbb5a0b208ec0c60382644 authorDmitry Smirnov <onlyjob@member.fsf.org> dateTue 31 Mar 2015, 19:40 (12 years ago) parent7bdcb5e
1 file changed+6−4
default.revealjs+6−4
default.revealjs+6−4
@@ -86,10 +86,12 @@ $body$
8686 // Full list of configuration options available here:
8787 // https://github.com/hakimel/reveal.js#configuration
8888 Reveal.initialize({
89− controls: true,
90− progress: true,
91− history: true,
92− center: true,
89+ controls: true, // Display controls in the bottom right corner
90+ progress: true, // Display a presentation progress bar
91+ history: true, // Push each slide change to the browser history
92+ center: $if(center)$$center$$else$true$endif$, // Vertical centering of slides
93+ maxScale: $if(maxScale)$$maxScale$$else$1.5$endif$, // Bounds for smallest/largest possible content scale
94+ slideNumber: $if(slideNumber)$true$else$false$endif$, // Display the page number of the current slide
9395 theme: $if(theme)$'$theme$'$else$Reveal.getQueryHash().theme$endif$, // available themes are in /css/theme
9496 transition: $if(transition)$'$transition$'$else$Reveal.getQueryHash().transition || 'default'$endif$, // default/cube/page/concave/zoom/linear/fade/none
9597