markdown_block {simplermarkdown}R Documentation

Return a code block object that can be included in the pandoc parse tree

Description

Return a code block object that can be included in the pandoc parse tree

Usage

markdown_block(content, language, id = "", ...)

Arguments

content

a character vector containing the code

language

language of the code in the code block

id

optional id of the code block

...

additional arguments should be named. These are added to the markdown block as additional arguments.

Value

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


[Package simplermarkdown version 0.0.6 Index]