GithubHelp home page GithubHelp logo

imclab / revealation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from katiejots/revealation

0.0 1.0 0.0 180 KB

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

License: Apache License 2.0

revealation's Introduction

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.

Prerequisites

  • Install PhantomJS and make sure the executable is on your path
  • Install ImageMagick and make sure the convert command is available on your path

Fully Automated Process

If you just want to convert the slide deck and don't care about removing any surplus slide captures, simply run the following command, replacing the URL with the URL of the desired target deck:

./revealation http://revealurl.example.com

Manual Process

If you want to review the slide images captured and remove any unwanted ones before creating the PDF, do the following:

  • Run the command phantomjs revealation.js http://revealurl.example.com, replacing the URL with your own
  • Look at the PNG files in the directory and delete any unwanted ones; every Reveal.js fragment will be captured
  • Run the command convert *.png slides.pdf

revealation's People

Contributors

katiejots avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.