initialize_tutorial | R Documentation |
One time initialization of R Markdown extensions required by the learnr package. This function is typically called automatically as a result of using exercises or questions.
initialize_tutorial()
If not previously run, initializes knitr hooks and provides the
required rmarkdown::shiny_prerendered_chunk()
s to initialize learnr.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.