pandoc-link-context-1.4.1.0: Extract "contextual links" from Pandoc
Safe HaskellSafe-Inferred
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.