Learn R Programming

pandocfilters (version 0.1-6)

as.block: 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)

Value

an object of class "block".

Arguments

x

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

Examples

Run this code
as.block("some text")
as.block(NULL)

Run the code above in your browser using DataLab