Skip to content

Instantly share code, notes, and snippets.

@Encosia
Forked from JeffreyWay/presentationPrep.js
Created April 6, 2012 22:18
Show Gist options
  • Select an option

  • Save Encosia/2323473 to your computer and use it in GitHub Desktop.

Select an option

Save Encosia/2323473 to your computer and use it in GitHub Desktop.
I wish it could be that simple. Something for me to build.
presentation({
title: 'My Great Presentation',
slides: [{
title: 'Learn About Borders',
bullets: [
'Thing 1',
'Thing 2',
],
code: ['path/to/file.css', [2,4]] // path to file, lines to grab
},
{
title: 'Learn About Margins',
quote: 'Always remember bla bla',
transition: 'fade' // optionally specify transitions
},
{
title: 'Learn About Things',
body: 'Description that goes below the title',
code: ['path/to/snippet', [0,3]] // path, lines
},
{
title: 'Learn About Whatever',
image: 'path/to/image.jpg'
}]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment