Word output format for creating a docx letter
lettre_word(reference_docx = pkg_resource("docx", "template_lettre.docx"), ...)
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.
Additional arguments passed to rmarkdown::word_document()
.
An R Markdown output format object to be passed to
rmarkdown::render()
.