Use the specified file as a style
reference in producing a docx file. For best results, the
reference docx should be a modified version of a docx
file produced using pandoc. Pass "default" to use the
rmarkdown default styles.
fig_width
Default width (in inches) for figures
fig_height
Default width (in inches) for figures
fig_caption
TRUE to render figures with
captions
highlight
Syntax highlighting style. Supported
styles include "default", "tango", "pygments", "kate",
"monochrome", "espresso", "zenburn", and "haddock". Pass
NULL to prevent syntax highlighting.
data_dir
Additional directory to resolve relatives
paths of templates and included content against (the
directory of the input file is used by default).
R Markdown documents can have optional metadata that is
used to generate a document header that includes the title,
author, and date. Metadata can also be provided to enable
the use of footnotes and bibliographies. For more details
see the documentation on R Markdown
metadata and
citations.
# NOT RUN {library(rmarkdown)
# simple invocationrender("input.Rmd", word_document())
# specify an option for syntax highlightingrender("input.Rmd", word_document(highlight = "zenburn"))
# }