• Stars
    star
    439
  • Rank 99,247 (Top 2 %)
  • Language
    JavaScript
  • Created over 15 years ago
  • Updated almost 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generate syntax-highlighted slides from Markdown

slidedown

Generate HTML slides with Markdown.

Spoiler Alert: It doesn't work so well with Internet Explorer. Other browsers should be fine.

Usage

Write your talk.

!SLIDE

# This is my talk

!SLIDE

## I hope you enjoy it

!SLIDE code

    def foo
      :bar
    end

!SLIDE

Google is [here](http://google.com)

!SLIDE

# Questions?

Generate the output:

$ slidedown my-talk.md

Custom Styles

To add custom styles to your slides, just create stylesheets in the same directory as your presentation markdown file:

| - presentation-directory
  | - slides.md
  | - styles.css

The additional styles will be added to your generated slides.

Navigation

Give your presentation!

  • left, right arrows to navigate through slides
  • esc to go home

Syntax Highlighting

For Ruby:

@@@ ruby
    def foo
      :bar
    end
@@@

For Javascript

@@@ js
    function foo() {
      return 'bar';
    }
@@@

For ERb:

@@@ rhtml
    <%= @post.created_at.to_s(:fancy) %>
@@@

Requirements

  • Nokogiri
  • makers-mark
  • pygments (for syntax highlighting)

Todo

  • Other means of navigation besides left/right keys
  • Vertical view of all slides in a row
  • Generate PDFs (maybe via cucumber)
  • Stop making Nokogiri sad when parsing out snippets

Contributors

  • Pat Nakajima
  • Dan Croak

(c) Copyright 2009 Pat Nakajima

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

rack-flash

If you're using Sinatra, you should use sinatra-flash instead.
Ruby
181
star
2

jquery-glow

Make your elements glow. Ooooh.
JavaScript
162
star
3

sinatras-hat

lol
Ruby
142
star
4

aintablog

Open source tumblog/aggregator. Do not use.
Ruby
122
star
5

better-edit-in-place

Easy editing in place for RESTful web apps.
JavaScript
92
star
6

roleful

Generic roles for you and your objects
Ruby
85
star
7

jquery-livesearch

Adds some live search to your page
JavaScript
74
star
8

capinatra

You should probably use Heroku instead..
Ruby
62
star
9

acts_as_fu

When you need a dash of ActiveRecord and nothing more
Ruby
57
star
10

elementor

View testing that doesn't suck.
Ruby
32
star
11

proxen

Easy method_missing proxying
Ruby
32
star
12

sms-rb

Send text messages with Twilio. Easily.
Ruby
32
star
13

calendar-maker

Rails plugin to build a simple calendar scaffold, with events signified by class names added to the day.
Ruby
32
star
14

many-mailers

Support for multiple SMTP servers in ActionMailer
Ruby
28
star
15

method-missing-js

Like Ruby's method_missing but for JabaScript
JavaScript
25
star
16

aspectory

Callbacks for your classes
Ruby
25
star
17

capistrano-bells

Recipes to get your app up and running quickly and easily.
Ruby
25
star
18

whitespace

It strips whitespace. That's it.
Ruby
23
star
19

makers-mark

Syntax highlight your markdown.
Ruby
23
star
20

jquery-jk

Easy keyboard shortcuts for traversing lists (like Gmail)
JavaScript
20
star
21

fixjour

Ruby
18
star
22

jquery-ajax-queue

Provides a way to limit certain AJAX requests to be submitted one at a time.
JavaScript
18
star
23

screw-driver

A way to automate the running of your Screw.Unit specs.
JavaScript
15
star
24

minijs

A small, jQuery-esque JavaScript library
JavaScript
14
star
25

optimus-prime

Something easy without function introspection
Ruby
13
star
26

the-little-schemer-in-ruby

Examples from The Little Schemer ported to Ruby (and scheme).
Ruby
13
star
27

gemifest

Like Heroku's gem manifests, but for your own computer
Ruby
11
star
28

augment-github

Bookmarklet to augment your GitHub dashboard repository information
JavaScript
10
star
29

WhereWhen

Where have you been? And when?
Swift
10
star
30

hatter

An example app using Sinatra's Hat, acts-as-fu, and SemiFormal
Ruby
10
star
31

action-query

jQuery and ActiveRecord, sitting in a tree...
Ruby
9
star
32

nakatype

Prototype extensions that I find myself using frequently, or just ideas that I think would be fun.
JavaScript
9
star
33

modal-overlays

The easiest way to create modal overlays I could muster
JavaScript
8
star
34

pretty-buttons

Inspired by the Stop Design post and Gmail's buttons
8
star
35

jquery-easter-eggs

Hidden behaviors based on your visitors’ typing into the document.
JavaScript
7
star
36

rack-unbasic

Wrap HTTP authentication in more tender UIs via Rack middleware
7
star
37

semi-formal

form_for outside of ActionView
Ruby
7
star
38

bookmarklet-factory

It creates bookmarklets! Code's kind of ugly, but whatever!
Ruby
7
star
39

poundie

A Campfire Bot
Ruby
6
star
40

test-js

Write JavaScript tests that don't need no stinkin' browser.
Ruby
6
star
41

mytweets-rb

Get all your tweets from Twitter
Ruby
6
star
42

rip-server

Like `gem server` but for Rip.
Ruby
6
star
43

nest-unit

Nested contexts for test/unit tests
Ruby
6
star
44

key-val

Easily get or set key/value pairs from ~/.key-val
Ruby
6
star
45

twitter-db

don't do this
Ruby
6
star
46

syntaxily

Syntax highlighting for strings and stuff
Ruby
5
star
47

middleware-talk

Talk about Rack/Middleware for nyc.rb
Ruby
5
star
48

nakajima-tracker

For tracking nakajimas
Ruby
5
star
49

fixjour-2

A rewrite of fixjour.
Ruby
5
star
50

github-client

Another GitHub API client. For fun, not for real.
Ruby
5
star
51

another

Swiss army knife of project templates.
JavaScript
5
star
52

thunder-app

Before lightning (talks) comes thunder
Ruby
5
star
53

HueEntertainmentSwift

A way to talk to the Hue Entertainment API.
Swift
5
star
54

jj

A JavaScript mock framework
JavaScript
4
star
55

rebound

Bind any instance of UnboundMethod to any object, regardless of class.
Ruby
4
star
56

screw-cucumber-talk

A Cucumber discussion.
4
star
57

screw-fixtures

Fixtures for Screw.Unit tests
3
star
58

lee-me

Comes correct.
Ruby
3
star
59

LilClock

A lil clock for visionOS
Swift
2
star
60

pat.swift

swift stuff i tend to use, you probably don't want to
Swift
2
star
61

hans-zimmer

Sound effects for web pages
CoffeeScript
2
star
62

dash-ci

Metrics and build failure notification for your continuous integration build
Ruby
2
star
63

twitter-client

Another one.
Ruby
2
star
64

set-js

A Ruby-esque Set implementation in JavaScript. (WIP)
2
star
65

screenwriting-textmate-bundle

A copy of the code from Google Code
2
star
66

feature-hider

A way to hide features based on Rails environment.
Ruby
2
star
67

4sq.pat.fm

Show all of your foursquare checkins on a google map
Ruby
1
star
68

test-repo

Test repo
1
star
69

my-twitter

Ruby
1
star
70

nakajima-dot-js

MY .js DIRECTORY FOR ALL TO SEE
CoffeeScript
1
star
71

ezcoffee

Generates quick coffeescript projects and compiles them. Scratching my own itch.
Ruby
1
star
72

poundie-pic

Poundie plugin to post first google images result to Campfire
Ruby
1
star
73

poundie-weather

Poundie plugin to post weather information to campfire
Ruby
1
star
74

langerdotjs

~/.js/
Ruby
1
star
75

talkerton

Say things with say
Ruby
1
star
76

offlinezor

Playing with HTML5's offline cache
Ruby
1
star
77

poundie-urban-dictionary

A Poundie plugin for posting urban dictionary definitions to campfire
Ruby
1
star
78

poundie-last-tweet

Posts the last tweet of a given twitter user to campfire
Ruby
1
star
79

shoe-boxer

A Shoes app for finding and running Shoes apps in Shoes.
Ruby
1
star
80

jquery-laser-page

Add lasers to your page with this one weird trick.
JavaScript
1
star
81

poundie-wikipedia

Poundie plugin to post wikipedia link for a given search term
Ruby
1
star
82

HandShapeClassifier

Swift
1
star
83

poundie-shake-shack

Poundie plugin to post latest image from Shake Shack cam to Campfire
Ruby
1
star
84

LiveModelDemo

Swift
1
star
85

ScrollObserverDemo

Swift
1
star
86

atom-branch-status

Atom plugin to show current branch status
CoffeeScript
1
star
87

home-manager

Nix
1
star