word_doc.Rd
Template for creating an R markdown based OCHA word document
word_doc(toc = FALSE, toc_depth = 3, fig_width = 5, fig_height = 4, fig_caption = TRUE, df_print = "default", smart = TRUE, highlight = "pygment", keep_md = FALSE, md_extensions = NULL, pandoc_args = NULL, ...)
toc |
|
---|---|
toc_depth | Depth of headers to include in table of contents |
fig_width | Default width (in inches) for figures |
fig_height | Default height (in inches) for figures |
fig_caption |
|
df_print | Method to be used for printing data frames. Valid values
include "default", "kable", "tibble", and "paged". The "default" method uses
|
smart | Produce typographically correct output, converting straight quotes to curly quotes, --- to em-dashes, -- to en-dashes, and ... to ellipses. |
highlight | Syntax highlighting style. Supported styles include
"default", "tango", "pygments", "kate", "monochrome", "espresso",
"zenburn", and "haddock". Pass |
keep_md | Keep the markdown file generated by knitting. |
md_extensions | Markdown extensions to be added or removed from the
default definition or R Markdown. See the |
pandoc_args | Additional command line options to pass to pandoc |