ReporteRs (version 0.8.2)

addCodeBlock: Add code block into a document object

Description

Add a code block into a document object

Usage

addCodeBlock(doc, file, text, ...)

Arguments

doc

document object

file

script file. Not used if text is provided.

text

character vector. The text to parse. Not used if file is provided.

...

further arguments passed to other methods

Value

a document object

See Also

addCodeBlock.bsdoc, addCodeBlock.docx , addCodeBlock.pptx