bootstrap_document: Convert to a Bootstrap styled HTML document

View source: R/knit_bootstrap.R

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 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.

See Also

render


knitrBootstrap documentation built on June 22, 2024, 7:01 p.m.