I am using knitr
to generate HTML5 slides, and use the following codes:
library(knitr)
knit("file.Rmd")
pandoc("file.md", format="dzslides")
However, the font sizes (for normal text and R codes) are larger so I hope to make them smaller. I know there is a way of using slidify
to convert .Rmd
file to HTML5, but I wonder if there is an easier way to make the adjustment only using knitr
? For some reason, I don't want to use slidify
for now.
Currently I put the following codes at the end of my .Rmd
file:
<!--pandoc
s:
S:
i:
mathjax:
-->