git.iko.soy/typeable/pandoc
on master help sign in
Add width, height variables to reveal.js.
d104c53Andrew Dunning
default.revealjs+9
@@ -195,6 +195,15 @@ $endif$
195$if(parallaxBackgroundVertical)$
195$if(parallaxBackgroundVertical)$
196 parallaxBackgroundVertical: '$parallaxBackgroundVertical$',
196 parallaxBackgroundVertical: '$parallaxBackgroundVertical$',
197$endif$
197$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$
198$if(margin)$
207$if(margin)$
199 // Factor of the display size that should remain empty around the content
208 // Factor of the display size that should remain empty around the content
200 margin: $margin$,
209 margin: $margin$,