Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Pandoc :: *
- body :: Lens' Pandoc [Block]
- meta :: String -> Traversal' Pandoc MetaValue
- data Block :: *
- blockInlines :: Traversal' Block Inline
- _Plain :: Prism' Block [Inline]
- _Para :: Prism' Block [Inline]
- _CodeBlock :: Prism' Block String
- _BlockQuote :: Prism' Block [Block]
- _OrderedList :: Prism' Block (ListAttributes, [[Block]])
- _BulletList :: Prism' Block [[Block]]
- _DefinitionList :: Prism' Block [([Inline], [[Block]])]
- _Header :: Prism' Block (Int, [Inline])
- _HorizontalRule :: Prism' Block ()
- _Table :: Prism' Block ([Inline], [Alignment], [Double], [TableCell], [[TableCell]])
- _Div :: Prism' Block [Block]
- _Null :: Prism' Block ()
- data Inline :: *
- _Str :: Prism' Inline String
- _Emph :: Prism' Inline [Inline]
- _Strong :: Prism' Inline [Inline]
- _Strikeout :: Prism' Inline [Inline]
- _Superscript :: Prism' Inline [Inline]
- _Subscript :: Prism' Inline [Inline]
- _SmallCaps :: Prism' Inline [Inline]
- _Quoted :: Prism' Inline (QuoteType, [Inline])
- _Cite :: Prism' Inline ([Citation], [Inline])
- _Code :: Prism' Inline String
- _Space :: Prism' Inline ()
- _LineBreak :: Prism' Inline ()
- _Math :: Prism' Inline (MathType, String)
- _RawInline :: Prism' Inline (Format, String)
- _Link :: Prism' Inline ([Inline], Target)
- _Image :: Prism' Inline ([Inline], Target)
- _Note :: Prism' Inline [Block]
- _Span :: Prism' Inline [Inline]
- data MetaValue :: *
- _MetaMap :: Prism' MetaValue (Map String MetaValue)
- _MetaList :: Prism' MetaValue [MetaValue]
- _MetaBool :: Prism' MetaValue Bool
- _MetaString :: Prism' MetaValue String
- _MetaInlines :: Prism' MetaValue [Inline]
- _MetaBlocks :: Prism' MetaValue [Block]
- class HasAttr a where
- attrIdentifier :: Lens' Attr String
- attrClasses :: Lens' Attr [String]
- attrs :: Lens' Attr [(String, String)]
Documents
meta :: String -> Traversal' Pandoc MetaValue Source #
A traversal focusing on a particular metadata value of a document
Blocks
Block element.
_BlockQuote :: Prism' Block [Block] Source #
A prism on a BlockQuote
_OrderedList :: Prism' Block (ListAttributes, [[Block]]) Source #
A prism on the items of a bullet list Block
_DefinitionList :: Prism' Block [([Inline], [[Block]])] Source #
A prism on the items of a definition list Block
_HorizontalRule :: Prism' Block () Source #
A prism on a HorizontalRule
Block
Inlines
Inline elements.
_Superscript :: Prism' Inline [Inline] Source #
A prism on a Superscript
Inline
Metadata
_MetaString :: Prism' MetaValue String Source #
A prism on a piece of MetaString
metadata
_MetaInlines :: Prism' MetaValue [Inline] Source #
A prism on a piece of MetaInlines
metadata
_MetaBlocks :: Prism' MetaValue [Block] Source #
A prism on a piece of MetaBlocks
metadata
Attributes
class HasAttr a where Source #
An object that has attributes
attributes :: Traversal' a Attr Source #
A traversal over the attributes of an object