Create a S5 slide show with Markdown.
- Ruby for all the magic
- Rake for building stuff
- Haml for page skeleton
- Ultraviolet for code highlighting
- Maruku for Markdown interpretation
- Install requirements (duh! ;-)
- Run
rake uv_init
to let Ultraviolet generate CSS for installed TextMate bundles - Edit
skeleton.haml
and put your own title, metadata and footer in it - Write your slides into
slides.markdown
- ???
- PROFIT!
Slides are delimited by lines containing +-- {.slide}
and =--
. Example:
+-- {.slide}
# A normal slide with some bullets
1. Lorem ipsum dolor sit amet
2. Consectetuer adipiscing elit
3. ???s
4. PROFIT!
=--
Highlighted code blocks are started by !code:$LANG
and goes on until the first line that has less indentation than the first line of code. Example:
!code:ruby
def foo(bar)
{:hello => :world}.merge(bar)
end
def baz(kazonk)
return kazonk
end
foo(:bar)
Some text
Just run rake
in the working directory and the slides will be assembled by the magic of Rake. When the gremlins are done, the presentation would be in index.html
.