View source: R/knit_functions.R
render_opal | R Documentation |
Render Rmd directly in Opal via API
render_opal(input, ...)
input |
(the path to the input Rmd document) |
... |
required for passing arguments when knitting |
Customize knit function in the Rmd file using the following YAML setting
after the word knit knit: rqti::render_opal
.
A list with the key, display name, and URL of the resource in Opal.
file <- system.file("exercises/sc1.Rmd", package='rqti')
render_opal(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.