as.block: Block Objects

View source: R/pandocfilters.R

as.blockR Documentation

Block Objects

Description

In pandoc "block" objects are used as container for "inline" objects and to give them specific roles. Objects of the classes "NULL" and "character" can be coerced to "block".

Usage

as.block(x)

Arguments

x

an object of type "NULL" or "character" or "block".

Value

an object of class "block".

Examples

as.block("some text")
as.block(NULL)

pandocfilters documentation built on Aug. 12, 2022, 1:05 a.m.