Skip to content

Commit

Permalink
add link to viewable eg
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Reagle committed Aug 31, 2012
1 parent 99ec648 commit 701671b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

The [pandoc](http://johnmacfarlane.net/pandoc/README.html) markdown file (`template.md`) and pandoc template (`class.dzslides`) can be used to generate a [dzslides](http://paulrouget.com/dzslides/) deck (`template.html`). This generated deck includes a wider range of slides types than the default dzslides `template.html` (e.g., traditional, [Takahashi](http://en.wikipedia.org/wiki/Takahashi_method) black and white; images with shadowed overlay ([PechaKucha](http://en.wikipedia.org/wiki/PechaKucha)), centered, and floated left and right).

Check out the [resulting deck](http://reagle.org/joseph/talks/2012/reagle-template.html)!

~~~~
pandoc --template=class.dzslides -t dzslides --standalone template.md > template.html
~~~~
Expand All @@ -23,7 +25,4 @@ constrain image; h5 is overlay

1. The latest functionality of dzslides (such as overview mode) may not be in pandoc's `$dzslides-core$`. I've replaced `$dzslides-core$` with the latest from dzslides (first escaping all javascript `$` via `$$`.)
2. Make sure you are not using an early version of pandoc that give every slide an `h1`, even if empty (see [#484](https://github.com/jgm/pandoc/issues/484).)
3. There's some ugly CSS trying to account for:
a. No easy vertical centers, so there's lots of margin futzing.
b. No easy image scaling.
c. Images might be in a link, if using WikimediaCommons images.
3. There's some ugly CSS trying to account for: (a) No easy vertical centers, so there's lots of margin futzing; (b) No easy image scaling; (c) Images might be in a link, if using WikimediaCommons images.

0 comments on commit 701671b

Please sign in to comment.