learnr_setup | R Documentation |
These functions add recording features through the learnitdown approach.
learnr_setup(cap = "Code R", debug = Sys.getenv("LEARNITDOWN_DEBUG", 0) != 0)
learnr_banner(simple = FALSE)
learnr_server(input, output, session)
cap |
The caption of learnr R code widgets. |
debug |
Do we issue debugging messages (by default, yes if the
environment variables |
simple |
Do we use a simple banner without title or not? |
input |
The Shiny input. |
output |
The Shiny output. |
session |
The Shiny session. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.