I am inspired to use markdown to make HTML5 slides, However the specification is too hard. Actually, I don’t know how to make it less ugly, especilly for the first page of the slides.
By chance, I find Torres’s slides (Click here), it is made through R using the slidify package. Of course, you also need to write R markdown using Rstudio and Knitr.
Install slidify package in Rstudio
install_github('slidify', 'ramnathv')
install_github('slidifyLibraries', 'ramnathv')
However, to install R packages host on Github is very painful. I failed in installing the slidifyLibrairies package.
Following thie post installing-slidify-on-a-windows-machine. Althought I have tried R CMD INSTALL, but failed. I don’t know why :<, however, I use the alternative method to install R packages on local computers.
First, download slidifyLibraries from github to your local directory, e.g., “D:/github/”.
Second, extract it and rename it as “slidifyLibraries”.
Third, build it with this R script:
build("D:/github/slidifyLibraries/", binary=FALSE)
Fourth, install the tar.gz file following this R script:
install.packages("D:/github/slidifyLibraries_0.1.tar.gz", repos = NULL, type = "source")
Using slidify to write R markdown
initialize a presentation following this introduction about slidify.
library(slidify)
author('mydeck')
Write markdown files
<iframe width="420"
height="315" src="//www.youtube.com/embed/I95GOmLc7TA"
frameborder="0" allowfullscreen></iframe>
Check my first slidify HTML5 slides here: chengjun.github.io/slides/computational-communication.html
Click here to see it.

The markdown file is given below (I choose “standalone” as the mode):
---
title : The Way to Computational Communication
subtitle :
author : Cheng-Jun Wang
job : Web Mining Web, City University of Hong Kong
framework : io2012 # {io2012, html5slides, shower, dzslides, ...}
highlighter : highlight.js # {highlight.js, prettify, highlight}
hitheme : tomorrow #
widgets : [] # {mathjax, quiz, bootstrap}
mode : standalone # {standalone, draft, selfcontained}
---
## Three metaphors of theory
>Immanuel Kant: All our knowledge begins with the senses, proceeds then to the understanding, and ends with reason. There is nothing higher than reason.

--- .class #id
## Sandglass of generalization

---
## Five levels of Research

---
## Computational Thinking

---
## The Way to Computational Communication

---
## Network Science

--- .class1 #id1 bg:yellow
## What should we do?
- Network science
- Statistical linguistics
- Human dynamics
- Big data& digital traces
- Digital media
- Data journalism
- Computational advertising

---
## Thank you for your attention!
## wangchj04@gmail.com

How to host your slidify HTML5 presentations on github
I failed in publish it directly to github following the the way introduced by slidify website. I am not sure why it does not work. However, I figured out my solutions.

You can still do it very easily. But, first, you should know the structure of github repository. Assume you have a github repo named “slidify”. We can work at different branches: “master” or “gh-pages”. You can generate your gh-pages branch following the figure on the right. gh-pages is a very special branch of github repository. The branch of gh-pages are acturally a website host by Github.The files in slidify/test/index.html on the branch of gh-pages could be displayed by your default github website. e.g., chengjun.github.io/slidify/test. So the first move is to make a gh-pages, and upload your slidify stuff to this branch.
You can generate new sub-branch too. e.g., slidify/computational-communication. See two examples:
http://chengjun.github.io/slides/slidify/
If your markdown file is ‘selfcontained’ , it will not turn to https://code.google.com/p/slidifylibraries/ for the font and theme information (but it still needs to refer to the other websites where your insert your pictures into your slides). So theoretically, self-contained file is a little little little bit faster than ‘standalone’ files. However, you can almost not detect it if the internet access is good. Check this standalone HTML in the following link and compare it with the two selfcontained ones on the above:
[](http://chengjun.github.io/slides/)
In you sub-directory, you have to have everything the selfcontained html needs, it is not clever enough to scan the upper-directory. Anyway, enjoy your HTML5 slides host on github!
Afterwords
I have also tried to use pandoc and reveal.js to make slides.
Using reveal.js, I have reproduced the slides of computational communication on slid.es.
However, using pandoc and markdown, it seems to be quite limited to set the slides, here is the result:chengjun.github.io/slides/reveal.js/cc
The method is briefly introduced here: [](chengjun.github.io/slides/reveal.js/pandoc-revealjs-slides)