From the course: reveal.js: Online Presentations

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Exporting your presentations to PDF

Exporting your presentations to PDF

From the course: reveal.js: Online Presentations

Start my 1-month free trial

Exporting your presentations to PDF

Sometimes, it's convenient to be able to print your presentations as PDF files. Whether you want to publish your slides in a site like SlideShare, deliver your presentations through an e-mail, or even print em out for your attendees. reveal.js lets you do this by using a special print CSS style sheet. This feature does require that you use the Chrome browser. First, you need to make sure that the pdf.css stylesheet is included in your page. Mine is right here. And these three lines by default will be included in the index.html document that you get when you download reveal.js. However, if you're using the barebones template, these will not be in there, so just copy them from the index.html file. So the next thing you want to do is go to the URL that you used to get to your presentation and modify it so at the end, you have a question mark and then print-pdf. When you do that, it's going to load the print.css stylesheet. So what you want to do now is, hit Cmd+P or File > Print. And you…

Contents