#' source() Rmd files
#'
#' This function would source() .Rmd files, which can be useful in makelikefiles
#' @keywords makelikefile here
#' @param rmd_file is a string indicating the file or file path
#' @export
#' @examples
#' source_rmd(here::here("munge", "100_init_munge.Rmd"))
source_rmd <- function(rmd_file){
knitr::knit(rmd_file, output = tempfile())
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.