Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Footnote = Footnote {
- unFootnote :: [Block]
- type Footnotes = Map Footnote Int
- mkFootnote :: [Block] -> Footnote
- queryFootnotes :: Pandoc -> Footnotes
- renderFootnotes :: (DomBuilder t m, Monoid a) => ([Block] -> m a) -> Footnotes -> m a
- renderFootnoteRef :: DomBuilder t m => Int -> m ()
- sansFootnotes :: DomBuilder t m => ReaderT Footnotes m a -> m a
Documentation
Footnote | |
|
mkFootnote :: [Block] -> Footnote Source #
Make a footnote from the Pandoc Note
node's block elements
queryFootnotes :: Pandoc -> Footnotes Source #
Traverse the Pandoc document accumulating any footnotes
renderFootnotes :: (DomBuilder t m, Monoid a) => ([Block] -> m a) -> Footnotes -> m a Source #
renderFootnoteRef :: DomBuilder t m => Int -> m () Source #
sansFootnotes :: DomBuilder t m => ReaderT Footnotes m a -> m a Source #