pandoc-link-context-1.4.0.0: Extract "contextual links" from Pandoc
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.LinkContext

Synopsis

Documentation

queryLinksWithContext :: Pandoc -> Map Url (NonEmpty ([OtherAttr], [Block])) Source #

Query the pandoc document for all links

Return a map, containing the "surrounding context" (as Pandoc blocks) for each link.