knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-" )
The goal of ariExtra
is to provide leverages the ari
' package and other tools to create automated courses from slides and a script.
You can install ariExtra
from GitHub with:
# install.packages("remotes") remotes::install_github("jhudsl/ariExtra")
library(ariExtra) id = "1Opt6lv7rRi7Kzb9bI0u3SWX1pSz1k7botaphTuFYgNs" res = gs_to_ari(id, verbose = FALSE, voice = "Joanna", service = "amazon", open = FALSE)
x = c("---", "output:", " ariExtra::ari_document:", " voice: Joanna", " service: amazon", " verbose: no", "---", "", "", "----------", "", "<!--Lean pub created a mook platform. We want to discuss some options for creating courses with Lean pub at Johns Hopkins.-->", "", "", "", "----------", "", "<!--Here is an example of the way Lean pub turns text into an output course. The left hand side is written in a markdown format called Markua.-->", "", "") output_file = tempfile(fileext = ".md") writeLines(x, output_file) res = list(output_file = output_file)
head(readLines(res$output_file), 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.