aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-01-31 00:06:06 -0500
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-01-31 00:06:06 -0500
commitf7a0cf703070b110557b8349ec1bafc4b0d0607e (patch)
tree5cddab5b860a2a7acc63115ac06b6bb71298e467 /README.md
parent9660cdbd26524ea220bec5fa2edca6dec5935284 (diff)
downloadfreenode-live-2017-presentation-f7a0cf703070b110557b8349ec1bafc4b0d0607e.tar
freenode-live-2017-presentation-f7a0cf703070b110557b8349ec1bafc4b0d0607e.tar.gz
add config vars for #310 to readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index d24f438..ea6be5e 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,20 @@ At the end of your page you need to initialize reveal by running the following c
```javascript
Reveal.initialize({
+
+ // 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: 960,
+ height: 700,
+
+ // Factor of the display size that should remain empty around the content
+ margin: 0.1,
+
+ // Bounds for smallest/largest possible scale to apply to content
+ minScale: 0.2,
+ maxScale: 1.4,
+
// Display controls in the bottom right corner
controls: true,
@@ -92,6 +106,7 @@ Reveal.initialize({
// Transition style
transition: 'default' // default/cube/page/concave/zoom/linear/fade/none
+
});
```