Definition List

Description

A constructor of a block object of type "DefinitionList".

Usage

1

Arguments

x

a list of key value pairs, the key is a list of "inline" objects and the values are a list of lists of objects of type "block".

Details

In the pandoc API http://johnmacfarlane.net/BayHac2014/doc/pandoc-types/Text-Pandoc-Definition.html the DefinitionList is described as follows, each list item is a pair consisting of a term (a list of "inline" objects) and one or more definitions (each a list of blocks).

Examples

1
2
3
key <- list(Str("key"))
value <- list(list(Plain(list(Str("value")))))
DefinitionList(list(list(key, value), Definition("some key", Plain("some value"))))