html_docco {rmdformats} | R Documentation |
Convert to an HTML document
Description
Format for converting from R Markdown to an HTML document.
Usage
html_docco(
fig_width = 6,
fig_height = 6,
fig_caption = TRUE,
highlight = "kate",
lightbox = TRUE,
thumbnails = TRUE,
gallery = FALSE,
use_bookdown = FALSE,
pandoc_args = NULL,
md_extensions = NULL,
mathjax = "rmdformats",
...
)
Arguments
fig_width |
Default width (in inches) for figures |
fig_height |
Default width (in inches) for figures |
fig_caption |
|
highlight |
Syntax highlighting style. Supported styles include
"default", "tango", "pygments", "kate", "monochrome", "espresso",
"zenburn", "haddock", and "textmate". Pass |
lightbox |
if TRUE, add lightbox effect to content images |
thumbnails |
if TRUE display content images as thumbnails |
gallery |
if TRUE and lightbox is TRUE, add a gallery navigation between images in lightbox display |
use_bookdown |
if TRUE, uses |
pandoc_args |
arguments passed to the pandoc_args argument of rmarkdown |
md_extensions |
arguments passed to the md_extensions argument of rmarkdown |
mathjax |
set to NULL to disable Mathjax insertion |
... |
Additional function arguments passed to rmarkdown |
Details
The CSS is heavily inspired from the default one of the docco project : https://ashkenas.com/docco/.
Value
R Markdown output format to pass to render