library(here) library(knitr) knitr::opts_chunk$set( echo = TRUE, message = FALSE, tidy = 'styler', fig.align = "left", fig.pos = "H", comment = NA, tidy.opts = list( transformers = styler::tidyverse_style(strict = TRUE) ) ) invisible( lapply(list.files(here("R"), pattern = "*.R", full.names = TRUE), source) ) options(knitr.table.format = "latex") ggplot2::theme_set(ggplot2::theme_light())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.