Paged.js and R markdown https://github.com/rstudio/pagedown pretty awesome..using the HTML output of R markdown with paged.js