The goal of RMDconverter is to provide functions for converting the contents of various RMD files from one export-type to another.
Currently, the only supported conversion is from xaringan
-based slides to a markdown set of notes.
You can install the latest version of RMDconverter from GitHub with:
# install.packages("remotes")
remotes::install_github("ha0ye/RMDconverter")
This is a basic example which shows you how to solve a common problem:
library(RMDconverter)
slides_file <- system.file("extdata/test_slides.Rmd", package = "RMDconverter")
md_file <- here::here("slides_temp.md")
out_file <- here::here("test_out.md")
process_slides(slides_file = slides_file,
md_file = md_file,
out_file = out_file,
clean = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.