View source: R/fnaufel_rmd_format.R
Loads additional style and configs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | fnaufel_rmd_format(
toc = TRUE,
toc_depth = 2,
toc_float = FALSE,
number_sections = TRUE,
anchor_sections = TRUE,
section_divs = TRUE,
fig_width = 7,
fig_height = 5,
fig_retina = 2,
fig_caption = TRUE,
dev = "png",
df_print = "paged",
code_folding = "show",
code_download = TRUE,
self_contained = TRUE,
theme = "readable",
highlight = "pygment",
mathjax = "default",
template = "default",
extra_dependencies = NULL,
css = system.file("rmarkdown/resources/styles.css", package = "rmdformat"),
includes = rmarkdown::includes(in_header =
system.file("rmarkdown/resources/header.html", package = "rmdformat")),
keep_md = FALSE,
lib_dir = NULL,
md_extensions = NULL,
pandoc_args = NULL,
...
)
|
toc |
see rmarkdown::html_document |
toc_depth |
see rmarkdown::html_document |
toc_float |
see rmarkdown::html_document |
number_sections |
see rmarkdown::html_document |
anchor_sections |
see rmarkdown::html_document |
section_divs |
see rmarkdown::html_document |
fig_width |
see rmarkdown::html_document |
fig_height |
see rmarkdown::html_document |
fig_retina |
see rmarkdown::html_document |
fig_caption |
see rmarkdown::html_document |
dev |
see rmarkdown::html_document |
df_print |
see rmarkdown::html_document |
code_folding |
see rmarkdown::html_document |
code_download |
see rmarkdown::html_document |
self_contained |
see rmarkdown::html_document |
theme |
see rmarkdown::html_document |
highlight |
see rmarkdown::html_document |
mathjax |
see rmarkdown::html_document |
template |
see rmarkdown::html_document |
extra_dependencies |
see rmarkdown::html_document |
css |
see rmarkdown::html_document |
includes |
see rmarkdown::html_document |
keep_md |
see rmarkdown::html_document |
lib_dir |
see rmarkdown::html_document |
md_extensions |
see rmarkdown::html_document |
pandoc_args |
see rmarkdown::html_document |
... |
see rmarkdown::html_document |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.