ReporteRs (version 0.7.9)

addMarkdown: Add a markdown text or file

Description

Add markdown into a document object

The markdown definition used is John Gruber documented here: http://daringfireball.net/projects/markdown/syntax.

Images are not available as addImage or addPlot is available. Pandoc footnotes have been added (see http://johnmacfarlane.net/pandoc/README.html#footnotes.

Usage

addMarkdown(doc, file, text, ...)

Arguments

doc

document object

file

markdown file. Not used if text is provided.

text

character vector. The markdown to parse.

...

further arguments passed to other methods

Value

a document object

See Also

docx, addMarkdown.docx , bsdoc, addMarkdown.bsdoc , pptx, addMarkdown.pptx