R/reproducr_draft.R
reproducr_draft.Rd
Creating and publishing reproducible scientific documents in draft (HTML) mode
reproducr_draft( toc = FALSE, toc_depth = 3, toc_float = TRUE, fig_width = 7, fig_height = 4, fig_retina = 5, fig_caption = TRUE, dev = "ragg_png", fig_showtext = TRUE, smart = TRUE, code_folding = TRUE, self_contained = TRUE, highlight = "default", highlight_downlit = TRUE, mathjax = "default", extra_dependencies = NULL, theme = NULL, css = NULL, includes = NULL, keep_md = FALSE, lib_dir = NULL, md_extensions = NULL, pandoc_args = NULL, ... )
toc_float | Float the table of contents to the left when the article
is displayed at widths > 1000px. If set to |
---|---|
fig_retina | globally sets the |
dev | Graphics device to use for figure output (defaults to 'ragg_png') from the ragg package |
fig_showtext | globally sets the |
smart | Produce typographically correct output, converting straight
quotes to curly quotes, |
code_folding | Include code blocks hidden, and allow users to
optionally display the code by clicking a "Show code" button just above
the output. Pass a character vector to customize the text of the
"Show code" button. |
highlight | Syntax highlighting style. Supported styles include "default", "rstudio", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn", "breezedark", and "haddock". Pass NULL to prevent syntax highlighting. |
highlight_downlit | Use the downlit package to highlight R code (including providing hyperlinks to function documentation). |
reproducr_draft()
provides the HTML format