diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-31 15:47:54 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-31 15:47:54 -0700 |
commit | 1d55d847308dd681c80312e0d9549d5c765bf4cc (patch) | |
tree | a28c46bf9674bc9cb39f3c23529dc5df43cf4365 /default.revealjs | |
parent | 7bdcb5e43d3b70f20e53f7a8c29ae395b02577de (diff) | |
parent | f51a985b211cab0af4fbb5a0b208ec0c60382644 (diff) | |
download | pandoc-1d55d847308dd681c80312e0d9549d5c765bf4cc.tar.gz |
Merge pull request #89 from onlyjob/reveal.js
reveal.js: add new configurable options and comments:
Diffstat (limited to 'default.revealjs')
-rw-r--r-- | default.revealjs | 10 |
1 files changed, 6 insertions, 4 deletions
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 |