From bc1ca1a58a0233f2540ebfc3f71748ce8fffc1f9 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 14 Feb 2017 14:40:12 +0100 Subject: [PATCH] updated pdf docs --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d88beb..76ca321 100644 --- a/README.md +++ b/README.md @@ -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 ``` +### 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**.