From: Hakim El Hattab Date: Sun, 17 Mar 2013 11:51:31 +0000 (-0400) Subject: remove extra whitespace X-Git-Tag: 2.4.0~69 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=864d37f821cc24aac195abdc0c8e73da5561de50;p=reveal.js.git remove extra whitespace --- diff --git a/README.md b/README.md index ab6660c..205f23f 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Reveal.initialize({ // Change the presentation direction to be RTL rtl: false, - // Number of milliseconds between automatically proceeding to the + // Number of milliseconds between automatically proceeding to the // next slide, disabled when set to 0, this value can be overwritten // by using a data-autoslide attribute on your slides autoSlide: 0, @@ -120,28 +120,28 @@ Reveal.configure({ autoSlide: 5000 }); ### Presentation Size -All presentations have a normal size, that is the resolution at which they are authored. The framework will automatically scale presentations uniformly based on this size to ensure that everything fits on any given display or viewport. +All presentations have a normal size, that is the resolution at which they are authored. The framework will automatically scale presentations uniformly based on this size to ensure that everything fits on any given display or viewport. See below for a list of configuration options related to sizing, including default values: ```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.0 - + }); ``` @@ -347,7 +347,7 @@ Just press »F« on your keyboard to show your presentation in fullscreen mode. ## PDF Export -Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome). +Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome). Here's an example of an exported presentation that's been uploaded to SlideShare: http://www.slideshare.net/hakimel/revealjs-13872948. 1. Open your presentation with [css/print/pdf.css](https://github.com/hakimel/reveal.js/blob/master/css/print/pdf.css) included on the page. The default index HTML lets you add *print-pdf* anywhere in the query to include the stylesheet, for example: [lab.hakim.se/reveal-js?print-pdf](http://lab.hakim.se/reveal-js?print-pdf).