Slidify: Reproducible HTML5 Slides Made Easy!

702 views
Skip to first unread message

Ramnath Vaidyanathan

unread,
Jun 1, 2012, 4:18:29 PM6/1/12
to kn...@googlegroups.com
Hi,

Given the flurry of interest in generating reproducible HTML5 slides using knitR, I have taken a quick crack at writing an R package that simplifies the process significantly. It is available on github at http://ramnathv.github.com/slidify and you can see the slides I generated at http://ramnathv.github.com/slidify/slides.html.

The basic idea is to 

1. Write your slides in R Markdown
2. Separate slides using ---
3. Run slidify('slides.Rmd')

and you are done!!

I have kept it modular, so that you can write an Rmd document once, and render it using deck.js, html5slides, dzslides, shower, slidy etc. Syntax highlighting can be done either using highlight.js or the highlight package in R and you can style your source code using any of the available themes provided. You can also add custom css and javascript to the default folders and slidify will automatically include it in the html output.

Slidify is still version 0.0.1 and I am still in the process of writing detailed documentation. For most of you in this group, I presume looking through the source code should work well ! 

Please use the github repository if you have issues while trying to use slidify.

Best,
Ramnath

Dennis Murphy

unread,
Jun 1, 2012, 4:36:24 PM6/1/12
to Ramnath Vaidyanathan, kn...@googlegroups.com
Hi:

This looks great!
Q: Is it possible to put the slides.Rmd source code up somewhere to
have a reference?
Request: It would be useful (at least to me) to list the pros and cons
of the various HTML renderers. I'm not looking for a comprehensive
review, just the primary stuff.

Dennis

Ramnath Vaidyanathan

unread,
Jun 1, 2012, 4:47:46 PM6/1/12
to kn...@googlegroups.com, Ramnath Vaidyanathan
Hi Dennis,

You will find the source slides.Rmd here https://github.com/ramnathv/slidify/tree/gh-pages. I will put up instructions on how to recreate the presentation, since I added some custom CSS and images, which dont come along with the package.

Regarding different HTML5 slide frameworks, I have seen several blog posts comparing and contrasting them. shower.js is beautiful, deck.js is modular and extensible. Slidy is minimalistic, and dzslides is simple. But my personal favorite is html5slides by the google folks as I find it most elegant.

I will try to write up a post comparing the different frameworks as well as provide links to blogs comparing the same.

Best,
Ramnath

Ramnath Vaidyanathan

unread,
Jun 1, 2012, 5:08:11 PM6/1/12
to kn...@googlegroups.com, Ramnath Vaidyanathan
I reorganized the folders a little bit, so the link to the slides has changed to http://ramnathv.github.com/slidify/examples/slides.html.

Best,
R
Reply all
Reply to author
Forward
0 new messages