parse_shortcuts_text <- function(text, ext = "R") {
file <- fs::file_temp(ext = ext)
on.exit(unlink(file))
writeLines(text, file)
parse_shortcuts(file)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.