Description Usage Arguments Value Examples
View source: R/course_creation.R
The function parses the chapter (in R markdown) using the slidify
function from the slidify
package. It then opens an html page that gives you an overview of the chapter in a nicer interface, so you can check it for typo's. Later we will add checks on the quality and correctness of your exercises in this overview.
1 | preview_chapter(inputFile,outputFile,...)
|
inputFile |
Path to chapter ".Rmd"" file to be previewed. |
outputFile |
Path to name of ".html" output file that will be created. By default the name of the input file is taken. |
... |
Extra arguments you'd like to pass to the function. Under the hood, the |
The preview_chapter
function does not return a value but it is called for its side effect as described above.
1 | preview_chapter("index.Rmd")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.