Scaffolding for making HTML5 presentations
JavaScript Shell Smarty CSS Ruby
Switch branches/tags
Nothing to show
Clone or download

README.md

Present

This is my scaffolding for composing presentations on the Reveal.js framework.

Setup

First, install dependencies (including Reveal.js):

npm install

Next, install Decktape for pixel-perfect export to PDF.

git clone --depth 1 https://github.com/astefanutti/decktape.git

Decktape uses a custom build of PhantomJS. See Decktape installation for the appropriate platform-specific version, or the following command for OSX.

curl -L http://astefanutti.github.io/decktape/downloads/phantomjs-osx-cocoa-x86-64 -o decktape/bin/phantomjs

Make it executable:

chmod +x decktape/bin/phantomjs

Reference

To begin working on a new presentation, this creates a new directory containing a Markdown file slides.md and a subdirectory for assets.

./new-dir /path/to/new/dir

Next, run the server command:

./serve /path/to/new/dir

To export to PDF, keep the server running and execute:

./export /path/to/file.pdf