#defaults only
knit_bootstrap('file.Rmd')
#Rstudio
#you also have to put render_html() in your rmd setup file, then use the
below code and the knit button
options(rstudio.markdownToHTML =
function(inputFile, outputFile) {
require(knitrBootstrap)
knit_bootstrap_md(input=inputFile, output=outputFile)
}
)Run the code above in your browser using DataLab