This is what I added to the title of my vignette.
output:
knitr:::html_vignette:
toc: true
css: custom.css
fig_caption: yes
pdf_document:
highlight: null
number_sections: yes
and I used the hrbrmstr command above, which creates a PDF file.
rmarkdown::render("vignettes/itkr.Rmd", "all")
source
share