diff options
| author | Andrew Dunning <adunning@users.noreply.github.com> | 2015-10-14 17:31:23 -0400 |
|---|---|---|
| committer | Andrew Dunning <adunning@users.noreply.github.com> | 2015-10-14 17:31:23 -0400 |
| commit | d104c535659517264ff7d25e541d4caf68871765 (patch) | |
| tree | cd86f2a2b984ea2ae55547db346db3b5d47fc81b | |
| parent | da139313d2e2ba99f4d31be6ea376dabf8c877ff (diff) | |
| download | pandoc-d104c535659517264ff7d25e541d4caf68871765.tar.gz | |
Add width, height variables to reveal.js.
| -rw-r--r-- | default.revealjs | 9 |
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$, |
