aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2015-10-14 17:31:23 -0400
committerAndrew Dunning <adunning@users.noreply.github.com>2015-10-14 17:31:23 -0400
commitd104c535659517264ff7d25e541d4caf68871765 (patch)
treecd86f2a2b984ea2ae55547db346db3b5d47fc81b
parentda139313d2e2ba99f4d31be6ea376dabf8c877ff (diff)
downloadpandoc-d104c535659517264ff7d25e541d4caf68871765.tar.gz
Add width, height variables to reveal.js.
-rw-r--r--default.revealjs9
1 files changed, 9 insertions, 0 deletions
diff --git a/default.revealjs b/default.revealjs
index 695ac0328..f2439b984 100644
--- a/default.revealjs
+++ b/default.revealjs
@@ -195,6 +195,15 @@ $endif$
$if(parallaxBackgroundVertical)$
parallaxBackgroundVertical: '$parallaxBackgroundVertical$',
$endif$
+$if(width)$
+ // The "normal" size of the presentation, aspect ratio will be preserved
+ // when the presentation is scaled to fit different resolutions. Can be
+ // specified using percentage units.
+ width: $width$,
+$endif$
+$if(height)$
+ height: $height$,
+$endif$
$if(margin)$
// Factor of the display size that should remain empty around the content
margin: $margin$,