diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2017-02-14 14:40:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 14:40:12 +0100 |
commit | bc1ca1a58a0233f2540ebfc3f71748ce8fffc1f9 (patch) | |
tree | e44cf59c77f455dfaf3409aae23a99d058c73158 | |
parent | 2f54af4614a195f31f20f66a849bf33f42130318 (diff) | |
download | fosdem-2018-presentation-bc1ca1a58a0233f2540ebfc3f71748ce8fffc1f9.tar fosdem-2018-presentation-bc1ca1a58a0233f2540ebfc3f71748ce8fffc1f9.tar.gz |
updated pdf docs
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -850,7 +850,7 @@ Here's an example of an exported presentation that's been uploaded to SlideShare ### Page size 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 })` ensures that no slide ever grows to more than one printed page. -### Instructions +### Print stylesheet To enable the PDF print capability in your presentation, the special print stylesheet at [/css/print/pdf.css](https://github.com/hakimel/reveal.js/blob/master/css/print/pdf.css) must be loaded. The default index.html file handles this for you when `print-pdf` is included in the query string. If you're using a different HTML template, you can add this to your HEAD: ```html @@ -863,6 +863,7 @@ To enable the PDF print capability in your presentation, the special print style </script> ``` +### Instructions 1. Open your presentation with `print-pdf` included in the query string i.e. http://localhost:8000/?print-pdf. 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**. |