diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-04-28 11:31:11 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-04-28 11:31:11 +0200 |
commit | 55581035228aba9a0d061a6969797327c626b0bf (patch) | |
tree | 520f888eedea5809f99fde020d33aa009c0b54c9 /README.md | |
parent | fcb6ea8385487194f257b9d556f9c98d0ec73301 (diff) | |
download | fosdem-2018-presentation-55581035228aba9a0d061a6969797327c626b0bf.tar fosdem-2018-presentation-55581035228aba9a0d061a6969797327c626b0bf.tar.gz |
make max pages per slide limit configurable
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -783,6 +783,8 @@ Reveal.initialize({ Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome) or [Chromium](https://www.chromium.org/Home). Here's an example of an exported presentation that's been uploaded to SlideShare: http://www.slideshare.net/hakimel/revealjs-300. +Export dimensions are inferred from the configured [presentation size](#presentation-size). Slides that are too tall to fit within a single page will expand onto multiple pages. You can limit how many pages a slide may expand onto using the `pdfMaxPagesPerSlide` config option, for example: `Reveal.configure({ pdfMaxPagesPerSlide: 1 })`. + 1. Open your presentation with `print-pdf` included anywhere in the query string. This triggers the default index HTML to load the PDF print stylesheet ([css/print/pdf.css](https://github.com/hakimel/reveal.js/blob/master/css/print/pdf.css)). You can test this with [lab.hakim.se/reveal-js?print-pdf](http://lab.hakim.se/reveal-js?print-pdf). 2. Open the in-browser print dialog (CTRL/CMD+P). 3. Change the **Destination** setting to **Save as PDF**. |