CodeBlock: Code Block Object

Description Usage Arguments See Also

View source: R/CodeBlock.R

Description

Code Block Object. A code block object is a block of text treated as verbatim text in a document object.

Usage

1
2
3
CodeBlock(file, text, text.properties = textProperties(color = "#A7947D"),
  par.properties = parProperties(text.align = "left", shading.color =
  "#5FB0B8"))

Arguments

file

script file. Not used if text is provided.

text

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

text.properties

default textProperties object

par.properties

default parProperties object

See Also

addCodeBlock


davidgohel/ReporteRs documentation built on Dec. 4, 2018, 5:10 p.m.