0.1.1 • Published 8 years ago

ember-reveal-js v0.1.1

Weekly downloads
10
License
MIT
Repository
github
Last release
8 years ago

ember-reveal-js

This Ember addon provides an easy way to include reveal.js presentations in Ember apps.

Themes

Controlling Presentation Display with Query Parameters

ParamAbbreviationUsageExplanation
widthww=1600Presentation width. Use together with height to define slide aspect ratio. Useful for printing to PDF.
heighthh=900Presentation height. Use together with width to define slide aspect ratio. Useful for printing to PDF.
controlscc=falseVisibility of arrow navigation controls. Defaults to visible. Specify false to hide them.
indexhhh=17Horizontal index of current slide.
indexvvv=3Vertical index of current slide.
print-pdfprint-pdfprint-pdf=true

Printing to PDF

Add print-pdf=true to the querystring to invoke the reveal.js print stylesheets. Favor Chrome. Remove margins. Choose a paper aspect ratio that matches your presentation aspect ratio.

Disclaimer

Works with simple layouts... not so much with more complicated layouts. There are issues with reveal.js itself.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.