Skip to content

A tool to help generate PDF versions of Reveal.js HTML slide decks

License

Notifications You must be signed in to change notification settings

katiejots/revealation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Revealation

This is a tool to help capture a Reveal.js presentation and turn it into a PDF, which can then be uploaded to sites such as SlideShare. If the presentation you wish to convert is simple, you may find you get adequate output by adding the print-pdf query parameter to the presentation URL, as described in the Reveal.js docs, and printing to PDF that way. If however, your presentation has content that is overlayed on other content and revealed with fragments and/or you wish to show the fragments on your slides one by one in the PDF, this tool may provide a better solution.

Install

npm install -g revealation

Note: This will install PhantomJS and CasperJS.

Run

revealation http://myrevealpres.com

Options

  • --capture Capture the slides, but do not render to PDF
  • --build Skip slide capture and build a PDF from images in the target directory
  • --target {dir} Directory to write the images and PDF; default 'output'
  • --output {filename} Filename for the PDF (without an extension); default 'presentation'
  • --resolution {1024x768} Resolution for viewport; if unspecified, tool will use the Reveal.js slide dimensions
  • --quality {75} Quality of images captured, from 0 to 100; default 100
  • --format {png} Format of images captured: png or jpeg
  • --controls Show the Reveal.js controls; default false
  • --wait Number of milliseconds to wait for each slide/fragment to load before capture; default 1000
  • --maxindex {9999} Maximum to use for frame indices; default 9999

About

A tool to help generate PDF versions of Reveal.js HTML slide decks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published