git.iko.soy/typeable/pandoc
on master help sign in
Add width, height variables to reveal.js.
commitd104c535659517264ff7d25e541d4caf68871765 authorAndrew Dunning <adunning@users.noreply.github.com> dateWed 14 Oct 2015, 17:31 (11 years ago) parentda13931
1 file changed+9
default.revealjs+9
default.revealjs+9
@@ -195,6 +195,15 @@ $endif$
195195$if(parallaxBackgroundVertical)$
196196 parallaxBackgroundVertical: '$parallaxBackgroundVertical$',
197197$endif$
198+$if(width)$
199+ // The "normal" size of the presentation, aspect ratio will be preserved
200+ // when the presentation is scaled to fit different resolutions. Can be
201+ // specified using percentage units.
202+ width: $width$,
203+$endif$
204+$if(height)$
205+ height: $height$,
206+$endif$
198207$if(margin)$
199208 // Factor of the display size that should remain empty around the content
200209 margin: $margin$,