aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Smirnov <onlyjob@member.fsf.org>2015-03-31 19:40:38 +1100
committerDmitry Smirnov <onlyjob@member.fsf.org>2015-04-01 08:21:39 +1100
commitf51a985b211cab0af4fbb5a0b208ec0c60382644 (patch)
treea28c46bf9674bc9cb39f3c23529dc5df43cf4365
parent7bdcb5e43d3b70f20e53f7a8c29ae395b02577de (diff)
downloadpandoc-f51a985b211cab0af4fbb5a0b208ec0c60382644.tar.gz
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>
-rw-r--r--default.revealjs10
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