aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2020-03-13 19:53:46 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2020-03-13 19:53:54 +0100
commitd918d750e00a63477f9a7d435f2caa82d2841798 (patch)
tree8e963017f356a178c6b26590bce487818ba0b718 /README.md
parent8709a41979bf9d72d84d55ab5f6f9e8cceada967 (diff)
downloadfosdem-2021-minimalism-presentation-d918d750e00a63477f9a7d435f2caa82d2841798.tar
fosdem-2021-minimalism-presentation-d918d750e00a63477f9a7d435f2caa82d2841798.tar.gz
print styles are now built into reveal.css, revamped print styles #2633
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 0 insertions, 14 deletions
diff --git a/README.md b/README.md
index 85862e7..2dc6225 100644
--- a/README.md
+++ b/README.md
@@ -1268,20 +1268,6 @@ If you prefer printing all fragments in their visible states on the same slide y
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.
-### 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
-<script>
- var link = document.createElement( 'link' );
- link.rel = 'stylesheet';
- link.type = 'text/css';
- link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
- document.getElementsByTagName( 'head' )[0].appendChild( link );
-</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 [revealjs.com?print-pdf](http://revealjs.com?print-pdf).