aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorgilxa1226 <mike.haller@gmail.com>2017-02-07 07:44:52 -0500
committerGitHub <noreply@github.com>2017-02-07 07:44:52 -0500
commitd7b34b6e0fc715aec0c2d7cf1cd971fade83440b (patch)
tree47c31ed83e3dbac8e28c82e12f5ce92d5f071f73 /README.md
parentbcfb65658fec94e5aac6bd53b9e294bef4fd95d4 (diff)
downloadfosdem-2018-presentation-d7b34b6e0fc715aec0c2d7cf1cd971fade83440b.tar
fosdem-2018-presentation-d7b34b6e0fc715aec0c2d7cf1cd971fade83440b.tar.gz
Update README.md to include block for pdf printing
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2e08853..cb102d7 100644
--- a/README.md
+++ b/README.md
@@ -849,7 +849,7 @@ Here's an example of an exported presentation that's been uploaded to SlideShare
In order to enable PDF print capability in your presentation, the following code must be inserted in the HEAD section of your HTML document.
-'''html
+```html
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
@@ -858,7 +858,7 @@ In order to enable PDF print capability in your presentation, the following code
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
-'''
+```
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.