View source: R/knit_bootstrap.R
bootstrap_document | R Documentation |
rmarkdown Format for converting from R markdown to Bootstrap styled HTML
bootstrap_document(title = NULL, theme = "default",
highlight = "highlightjs", theme.chooser = FALSE,
highlight.chooser = FALSE, menu = TRUE, custom.header = NULL,
clean_supporting = TRUE)
title |
Title to use in the bootstrap document |
theme |
Visual theme ('Default', 'Amelia', 'Cerulean', 'Cosmo', 'Cyborg', 'Journal', 'Flatly', 'Readable', 'Simplex', 'Slate', 'Spacelab', 'United'). |
highlight |
Syntax highlighting style ('HighlightJs', 'Dark', 'Far', 'Idea', 'Sunburst', 'Zenburn', 'Visual Studio', 'Ascetic', 'Magula', 'Github', 'Google Code', 'Brown Paper', 'School Book', 'IR Black', 'Solarized - Dark', 'Solarized - Light', 'Arta', 'Monokai', 'Xcode', 'Pojoaque', 'Rainbow', 'Tomorrow', 'Tomorrow Night', 'Tomorrow Night Bright', 'Tomorrow Night Blue', 'Tomorrow Night Eighties'). |
theme.chooser |
Adds a dynamic theme chooser to the page, pass 'TRUE' to include. |
highlight.chooser |
Adds a dynamic highlight chooser to the page, pass 'TRUE' to include. |
menu |
Whether to show the menu or not. |
custom.header |
HTML file containing any extra header logic such as external script or CSS includes. |
clean_supporting |
Whether to clean supporting files or not. |
render
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.