Skip to content

Commit bc1ca1a

Browse files
authored
updated pdf docs
1 parent 2f54af4 commit bc1ca1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ Here's an example of an exported presentation that's been uploaded to SlideShare
850850
### Page size
851851
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.
852852

853-
### Instructions
853+
### Print stylesheet
854854
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:
855855

856856
```html
@@ -863,6 +863,7 @@ To enable the PDF print capability in your presentation, the special print style
863863
</script>
864864
```
865865

866+
### Instructions
866867
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).
867868
2. Open the in-browser print dialog (CTRL/CMD+P).
868869
3. Change the **Destination** setting to **Save as PDF**.

0 commit comments

Comments
 (0)