Copyright | © 2021 Albert Krewinkel |
---|---|
License | MIT |
Maintainer | Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data Content
- = ContentBlocks [Block]
- | ContentInlines [Inline]
- | ContentLines [[Inline]]
- | ContentDefItems [([Inline], [[Block]])]
- | ContentListItems [[Block]]
- contentTypeDescription :: Content -> String
- peekContent :: LuaError e => Peeker e Content
- pushContent :: LuaError e => Pusher e Content
- peekDefinitionItem :: LuaError e => Peeker e ([Inline], [[Block]])
Documentation
Helper type to represent all the different types a content
attribute can have.
ContentBlocks [Block] | |
ContentInlines [Inline] | |
ContentLines [[Inline]] | |
ContentDefItems [([Inline], [[Block]])] | |
ContentListItems [[Block]] |
contentTypeDescription :: Content -> String Source #
Gets the text property of an Inline, if present.