I use knitr to create HTML5 slides and use the following codes:
library(knitr) knit("file.Rmd") pandoc("file.md", format="dzslides")
However, the font sizes (for plain text and R-codes) are larger, so I hope to make them smaller. I know there is a way to use slidify to convert a .Rmd file to HTML5, but I'm wondering if there is an easier way to do the setup with knitr ? For some reason, I don't want to use slidify yet.
I am currently putting the following codes at the end of my .Rmd file:
html5 knitr slidify
alittleboy
source share