Format for converting from R Markdown to an HTML document.
readthedown(
fig_width = 8,
fig_height = 5,
fig_caption = TRUE,
highlight = "kate",
lightbox = FALSE,
thumbnails = FALSE,
gallery = FALSE,
toc_depth = 2,
embed_fonts = TRUE,
use_bookdown = FALSE,
pandoc_args = NULL,
md_extensions = NULL,
mathjax = "rmdformats",
...
)
Default width (in inches) for figures
Default width (in inches) for figures
TRUE
to render figures with captions
Syntax highlighting style. Supported styles include
"default", "tango", "pygments", "kate", "monochrome", "espresso",
"zenburn", "haddock", and "textmate". Pass NULL
to prevent syntax
highlighting.
if TRUE, add lightbox effect to content images
if TRUE display content images as thumbnails
if TRUE and lightbox is TRUE, add a gallery navigation between images in lightbox display
adjust table of contents depth
if TRUE, use local files for fonts used in the template. This leads to bigger files but ensures that these fonts are available. If FALSE they are downloaded from Google Web Fonts.
if TRUE, uses html_document2
instead of html_document
, thus providing numbered sections and cross references
arguments passed to the pandoc_args argument of rmarkdown html_document
arguments passed to the md_extensions argument of rmarkdown html_document
set to NULL to disable Mathjax insertion
Additional function arguments passed to R Markdown html_document
R Markdown output format to pass to render
CSS adapted from the readtheorg theme of the org-html-themes project : https://github.com/fniessen/org-html-themes, which is itself inspired by the Read the docs theme : https://readthedocs.org/.