Learn R Programming

pandocfilters (version 0.1-3)

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)

Arguments

x

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

Value

an object of class "block".

Examples

Run this code
# NOT RUN {
as.block("some text")
as.block(NULL)
# }

Run the code above in your browser using DataLab