#' Apply a light theme to RStudio
#'
#' @importFrom rstudioapi applyTheme
#' @export
light_mode <- function() {
rstudioapi::applyTheme("textmate (default)")
}
#' Apply a dark theme to RStudio
#'
#' @importFrom rstudioapi applyTheme
#' @export
dark_mode <- function() {
rstudioapi::applyTheme("monokai")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.