Enable hooks and parsing utilities so that special code chunks where the
type options are specified, are converted into
interactive exercises on the resulting HTML page. Use
build_example to generate an example document. Simply knitting
this document will generate a document with DataCamp Light powered code
whether or not to 'greedily' convert code chunks into DataCamp Light frames.
height in pixels that you want the resulting DataCamp Light frame to have.
greedy argument, you can control which elements of your R
Markdown document are converted into DataCamp Light chunks. By default
TRUE, leading to all R code chunks to be converted to
interactive frames. Only chunks for which you specify the option
FALSE are not converted. If 'greedy' is
FALSE, only chunks for which
tut = TRUE are converted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.