ABSTRACT

This chapter shows people how to work with other popular static site generators like Jekyll and Hexo. Besides these static site generators written in other languages, there is actually a simple site generator written in R provided in the rmarkdown package. The chapter introduces it the it explains how the script R/build_one.R looks like. A small caveat is that since people have both.Rmd and.md files, Jekyll will treat both types of files as Markdown files by default. Before blogdown was invented, there was actually a relatively simple way to render websites using rmarkdown. The structure of the website has to be a flat directory of Rmd files and a configuration file in which people can specify a navigation bar for all their pages and output format options. The rmarkdown site generator requires all Rmd files to be under the root directory.