Skip to content

Instantly share code, notes, and snippets.

@JeffreyWay
Created April 6, 2012 22:11
Show Gist options
  • Save JeffreyWay/2323439 to your computer and use it in GitHub Desktop.
Save JeffreyWay/2323439 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')
.slide({
title: 'Learn About Borders',
bullets: [
'Thing 1',
'Thing 2',
],
code: ['path/to/file.css', [2,4]] // path to file, lines to grab
})
.slide({
title: 'Learn About Margins',
quote: 'Always remember bla bla',
transition: 'fade' // optionally specify transitions
})
.slide({
title: 'Learn About Things',
body: 'Description that goes below the title',
code: ['path/to/snippet', [0,3]] // path, lines
})
.slide({
title: 'Learn About Whatever',
image: 'path/to/image.jpg'
});
@jimbijwaard
Copy link

@jeffrey Another advantage might be to share and remix presentations. Could it be possible to 'hot-link' a slide, which get's updated as soon as the master-slide is updated?

{ type: 'embed',
  source: ['path/to/master-presentation.js[slide#]]'}

For example if you add a contact-slide in there somewhere, but you change contact-details later.. You could have a master contact slide, which you embed in all your presentations...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment