ReporteRs (version 0.8.7)

addMarkdown.bsdoc: Add a markdown text or file into an bsdoc object

Description

Add markdown into a bsdoc 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.top = 0, padding.bottom = 0, shading.color = "#eeeeee"), code.par.properties = parProperties(shading.color = "#eeeeee"), hr.border = borderSolid(width = 2, color = "gray10"), ...)

Arguments

doc
Object of class bsdoc 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 bsdoc.

Details

You can configure backtick rendering (single or double backtick) with options "ReporteRs-backtick-color" and "ReporteRs-backtick-shading-color".