knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(ggplot2) ggplot(mtcars, aes(wt, mpg)) + geom_point() + labs(subtitle = expression(chi^2 == 2.2))
Link: https://github.com/r-lib/pkgdown/issues/1282
x <- 1 + 2 x
rmarkdown::pandoc_version()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.