You can also specify the options in your YAML front-matter, see the rmarkdown documentation for examples.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
library(rmarkdown)
library(knitrBootstrap)
render('input.Rmd', bootstrap_document())
#with some options
render('input.Rmd', bootstrap_document(title='Test', highlight='Github',
theme='Slate', theme.chooser=TRUE, highlight.chooser=TRUE))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.