Purpose:
- Share interactive Rmarkdown documents with collaborators in a clean interface
- Do it all from within RStudio
How I use it:
- Edit Rmarkdown and preview rendered site in Rstudio using
servr::jekyll()
- Use Git with a post-receive hook for building and deploying the Jekyll site remotely
- Git push (from whithin RStudio) now becomes deploy
Based on/Credit to:
- knitr-jekyll by yihui
- htmlwidgets support from brendan-r
- Full-text search with lunr.js (solution borrowed from katydecorah)
- Archive timeline styling borrowed from katydecorah
Requirements:
- Jekyll 3.x
- brocks (in R,
devtools::install_github("brendan-r/brocks")
) - jekyll-scholar
- jekyll_file_exists (included in this repo)
Note: if hosting on Github pages, you will have to build the site locally first since the jekyll plugins are not allowed.