Comparing version 0.0.3 to 0.0.4
@@ -45,3 +45,4 @@ var fs = require('fs'), | ||
if (err) throw err; | ||
var output = mustache.render(data, { slides: renders, title: json.name, styles: styles }); | ||
var output = mustache.render(data, { slides: renders, title: json.name, styles: styles, controls: !(options.nocontrols) }); | ||
if (options.debug) { | ||
@@ -48,0 +49,0 @@ console.log(output); |
{ | ||
"name": "cleaver", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "plug-n-play HTML slideshows", | ||
@@ -5,0 +5,0 @@ "author": "Jordan Scales", |
@@ -121,2 +121,10 @@ # Cleaver | ||
By default, **cleaver** will place navigation arrows in the bottom | ||
corners of your presentation. To omit those, append a `--nocontrols` | ||
flag to your command. | ||
``` | ||
cleaver --file=examples/basic.json --nocontrols | ||
``` | ||
## Header Information | ||
@@ -152,4 +160,7 @@ | ||
To navigate the slideshow: H, J, BACK, DOWN, and Backspace all go back a slide, while everything else goes forward. | ||
To navigate the slideshow: | ||
* **reverse**: H, J, LEFT, DOWN, and Backspace | ||
* **forward**: K, L, ENTER, UP, RIGHT, and Space | ||
[MIT Licensed](https://github.com/prezjordan/cleaver/blob/master/LICENSE) |
Sorry, the diff of this file is not supported yet
15585
165