Giter VIP home page Giter VIP logo

slidedeck's Introduction

Slidedeck: HTML5 Slideshows in markdown

PyPI Version Downloads

Overview

This is a repackaging of the google io 2012 slidedeck, with these modifications, to be a little easier to use and more suitable for scientific presentations.

We've made a few changes:

  • You edit and author your entire presentation in markdown.
  • All the metadata about your project is set within the markdown file, including things like the title and author.
  • It's packaged as a python project.
    • You run slidedeck create to make a new deck. This will create a new directory with your project. In particular, there will be a fine in there called slides.md that contains the markdown source for your slides.
    • slidedeck render will render your deck from markdown to html5.
    • slidedeck watch will watch your project and rerender the slides whenever you change the content (useful for iterative development).
  • I made a few stylistic changes to the css, including changing the font size.
  • The slides can contain LaTeX, which is rendered via mathjax.
  • There are no google logos all over the place

Getting started

Install the package. This will add the command line program slidedeck to your PATH.

python setup.py install

Create a new project, complete with some template slides, the css, and the javascript.

slidedeck create my_slides

Look in there for the slides.md file, and edit it to your liking. When you want to see your work, compile the slides from markdown into HTML.

slidedeck render

You can also have the HTML auto-compiled from markdown, any time the files change on disk.

slidedeck watch

If you're curious about how any of these commands work, pass the -h flag to the command line executable,

slidedeck -h
slidedeck create -h

Tricks

slidedeck watch works nicely with the tincr extension for chrome, which will refresh your browser every time the html files its serving are changed on disk.

Dependencies

You will need a modern python installation (tested on 2.7) with jinja2 and markdown installed. To use the slidedeck watch command, you'll also need watchdog installed.

You can get these packages with the easy_install or pip package managers by running

sudo easy_install jinja2 markdown watchdog

or

sudo pip install jinja2 markdown watchdog

License

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.

slidedeck's People

Contributors

rmcgibbo avatar wes-brooks avatar ihaque avatar kyleabeauchamp avatar rjw57 avatar

Watchers

James Cloos avatar Christoph Klein avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.