#' @title Short function to open a Rmd file
#'
#' @description
#' This function opens a Rmd file. Please use just file names like they are
#' named in the getStructure function
#' @importFrom utils file.edit
#' @param rmd.file (`character(1)`)\cr
#' Slide name.
#' @export
openRmd = function (rmd.file) {
cat(sprintf("Opening '%s'.", readSlide(rmd.file)))
file.edit(readSlide(rmd.file))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.