Generate PDF of Reveal Presentation

Recently I needed a PDF file of a presentation created using reveal.js. The use of Decktape has been done which is a high-quality PDF exporter for HTML5 presentation frameworks. Quickly follow up the commands below to effectuate PDF generation:

  1. curl -L https://github.com/astefanutti/decktape/archive/v1.0.0.tar.gz | tar -xz –exclude phantomjs
  2. cd decktape-1.0.0/
  3. curl -L https://github.com/astefanutti/decktape/releases/download/v1.0.0/phantomjs-linux-x86-64 -o phantomjs
  4. chmod +x phantomjs
  5. ./phantomjs decktape.js {presentation-url} {pdf-file-name}

It was quick and short. Wasn’t it? 😀

Leave a Reply

Follow

Get notified with the latest posts

Plugin Supporter WordPress Post Navigation
%d bloggers like this: