as.block {pandocfilters}R 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)

[Package pandocfilters version 0.1-6 Index]