zharley / present

Scaffolding for making HTML5 presentations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Scaffolding for making HTML5 presentations

License:MIT License


Languages

Language:JavaScript 47.2%Language:Shell 19.2%Language:Smarty 18.5%Language:CSS 11.7%Language:Ruby 3.4%