powered by
Constructs a block object of type "DefinitionList".
"DefinitionList"
DefinitionList(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".
"inline"
"block"
In the pandoc API https://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).
DefinitionList
key <- list(Str("key")) value <- list(list(Plain(list(Str("value"))))) DefinitionList(list(list(key, value), Definition("some key", Plain("some value"))))
Run the code above in your browser using DataLab