knitr::opts_chunk$set(echo = TRUE)
vignette_dir <- "../inst/misc/" vignette_file <- "guide.md" lines <- readLines(paste0(vignette_dir, vignette_file)) lines <- gsub(", x = lines, fixed = TRUE) cat(lines, sep = "\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.