git.iko.soy/typeable/pandoc
on master help sign in
[Reveals] Be able to change customize 'progress' and 'controls'
859c5feGrégoire Pineau
default.revealjs+2−2
@@ -86,8 +86,8 @@ $body$
86 // Full list of configuration options available here:
86 // Full list of configuration options available here:
87 // https://github.com/hakimel/reveal.js#configuration
87 // https://github.com/hakimel/reveal.js#configuration
88 Reveal.initialize({
88 Reveal.initialize({
89− controls: true, // Display controls in the bottom right corner
89+ controls: $if(controls)$$controls$$else$true$endif$, // Display controls in the bottom right corner
90− progress: true, // Display a presentation progress bar
90+ progress: $if(progress)$$progress$$else$true$endif$, // Display a presentation progress bar
91 history: true, // Push each slide change to the browser history
91 history: true, // Push each slide change to the browser history
92 center: $if(center)$$center$$else$false$endif$, // Vertical centering of slides
92 center: $if(center)$$center$$else$false$endif$, // Vertical centering of slides
93 maxScale: $if(maxScale)$$maxScale$$else$1.5$endif$, // Bounds for smallest/largest possible content scale
93 maxScale: $if(maxScale)$$maxScale$$else$1.5$endif$, // Bounds for smallest/largest possible content scale