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

View source: R/raw_block.R

raw_blockR Documentation

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")

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.

Value

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


djvanderlaan/tinymarkdown documentation built on March 19, 2023, 11:56 p.m.