ReporteRs (version 0.8.6)

addMarkdown.pptx: Add a markdown text or file into a pptx object

Description

Add markdown into a pptx object.

Usage

"addMarkdown"(doc, file, text, text.properties = textProperties(font.size = getOption("ReporteRs-fontsize")), default.par.properties = parProperties(text.align = "justify"), blockquote.par.properties = parProperties(padding = 6, shading.color = "#eeeeee"), code.par.properties = parProperties(shading.color = "#eeeeee"), hr.border = borderSolid(width = 2, color = "gray10"), ...)

Arguments

doc
Object of class pptx where markdown has to be added
file
markdown file. Not used if text is provided.
text
character vector. The markdown text to parse.
text.properties
default textProperties object
default.par.properties
default parProperties object
blockquote.par.properties
parProperties object used for blockquote blocks.
code.par.properties
parProperties object used for code blocks.
hr.border
borderProperties object used for horizontal rules.
...
further arguments, not used.

Value

an object of class pptx.

Details

This function will be removed in the next version.