1.4.0 • Published 11 years ago
generator-code-deck v1.4.0

Code Deck is a Yeoman generator for creating code-based slideshow presentations. It was built because HTML slideshows are awesome, but they take too long to make. With Code Deck, your project is automatically set up so you can focus on presenting great content.
Intro Video
View full screencast on Youtube
Example
See an example of a presentation built with Code Deck.
Instructions
Generate:
- Once you have the "Prerequistes" installed, run
npm install -g generator-code-deckto install the Code Deck Yeoman generator. cdto the directory where you want to generate your presentation.- Run
yo code-deckand answer the prompts.
Develop:
- Replace
src/images/logo.pngwith your own logo. - Run
grunt serve. - Edit the data in
src/data.js
Refer to the RevealJS documentation for more options.
Prerequisites
Before using Code Deck, you need to install a few things if you don't have them already...
- Node: download
- Bower:
npm install -g bower. - Yeoman:
npm install -g yo. - Grunt:
npm install -g grunt-cli. - Sass:
gem install sass.
If you run into any problems, you may need to use the sudo command or reclaim ownership of your .npm directory.
Features
- Yeoman generator for automatic customized presentation setup.
- RevealJS for slide animations and functionality.
- Grunt tasks for easy development and a shareable
distfolder. - BrowserSync for live style and content injections during development.
- Sass variables for easy branding/theming.
- Handlebars templates for automatic slide creation from the data in
src/data.js. - HighlightJS for easy code syntax highlighting inside of
<pre><code>blocks.
Changelog
1.3.0
- Yeoman templates now include user's GitHub data out-of-the-box.
- Added a screencast tutorial.
- Added an example.
- Providing example slide content in
src/data.js. - Cleaning up and updating README.
1.2.0
- Moving all content to the
dataobject indata.jsfor easier editing.
1.1.0
- Creating a
sectiontemplate which is re-used for eachsectionobject indata.js.
1.0.0
- Public release
Built with ♡ by @trevordmiller.