Last data update: 2014.03.03

R: Convert to a Bootstrap styled HTML document
bootstrap_documentR Documentation

Convert to a Bootstrap styled HTML document

Description

rmarkdown Format for converting from R markdown to Bootstrap styled HTML

Usage

bootstrap_document(title = NULL, theme = "default",
  highlight = "highlightjs", theme.chooser = FALSE,
  highlight.chooser = FALSE, menu = TRUE, custom.header = NULL,
  clean_supporting = TRUE)

Arguments

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 use a toggle menu, [logical(TRUE)].

custom.header

HTML file containing any extra header logic such as external script or CSS includes.

clean_supporting

Whether to clean the supporting files, [logical(TRUE)].

See Also

render

Results