knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
plot(1:10) #plot(10:1)
The figure sizes have been customised so that you can easily put two images side-by-side, but then the caption does not appear.
plot(1:10) plot(10:1)
The html_vignette
template includes a basic CSS theme. To override this theme you can specify your own CSS in the document metadata as follows:
output: rmarkdown::html_vignette: css: mystyles.css
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.