Learn R Programming

simplermarkdown (version 0.0.6)

raw_block: Return a raw chunk of text that can be included in the pandoc parse tree

Description

Return a raw chunk of text that can be included in the pandoc parse tree

Usage

raw_block(content, language = "markdown")

Value

Returns a list with the correct structure for a RawBlock in the pandoc parse tree.

Arguments

content

a character vector containing the content to include in the final document.

language

language of the content

Details

A raw block is included as is into the final markdown document. This can be used for example to include raw chunks of markdown.