4 ms·
Exactly. I've been looking out for (and possibly missed) a tool to make a Reveal.js-ish slideshow [1] from just markdown rather than 'HTML with optional markdow
by nilliams 13y ago
Exactly. I've been looking out for (and possibly missed) a tool to make a Reveal.js-ish slideshow [1] from just markdown rather than 'HTML with optional markdown in each slide'. This is that.
With Reveal.js you can do:
<section data-markdown><script type="text/template">
#markdown slide here
</script></section>
But that's a bit of a hard-sell when I'm trying to open non-softie eyes to the benefits of markdown-everywhere (as they have to encounter HTML too). So yeah, I realise that a regex that replaces `---` with the above and hoicks it into a Reveal.js template is (almost) all that is needed to achieve what this project does, but I'm thankful for it all the same.
Worth noting that I've also used the `slideshow` gem [2] back in the day. This does basically the same thing as this project, and with the Google HTML5 Rocks [3] theme it isn't bad as a 'just markdown to slideshow' tool, but it was a bit fiddly to get started and 1) that homepage is a big undersell with all the old crappy themes/defaults on it and 2) I think their version of the Google deck is now pretty outdated (was buggy when I used it). Still, worth looking into for Rubyists I think.
[1] http://lab.hakim.se/reveal-js http://lab.hakim.se/reveal-js
[2] http://slideshow.rubyforge.org/ http://slideshow.rubyforge.org/
[3] http://slideshow.rubyforge.org/tutorial.html5.html#slide1 http://slideshow.rubyforge.org/tutorial.html5.html#slide1
- prezjordan 13y agoI would love to explore adding an optional to render a reveal.js slideshow, instead of using my "reinventing the wheel" approach. Shouldn't be terribly difficult, just a matter of adding a new template :)