Format for converting from R Markdown to a Microsoft Word Document that can
be reversed using dedoc()
after editing in Word.
redoc(highlight_outputs = FALSE, wrap = getOption("redoc.wrap", 80), margins = NULL, line_numbers = NULL, comment_author = NULL, keep_md = FALSE, wrappers = list(htmlcommentwrap, latexwrap, rawblockwrap, rawspanwrap, cmwrap, citationwrap), diagnostics = TRUE, ...)
highlight_outputs | whether to highlight outputs from chunks and inline code in the final document |
---|---|
wrap | when round-tripping the document, at what width to wrap the
markdown output? Set the default with |
margins | page margin size. Can be a single value or a named vector
with values, |
line_numbers | either TRUE or list with any of the arguments |
comment_author | The name to attribute any CriticMarkup tracked
changes to. Defaults to |
keep_md | whether to keep the intermediate markdown document |
wrappers | a list of wrapper functions to capture text to protect when
rendering and de-rendering. See |
diagnostics | Whether to embed diagnostic information in the output file. If TRUE, this will save session information and the current pandoc and (if used) RStudio versions inside the Word document for later bug-checking. |
... | other parameters passed to |