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

Text.Pandoc.LinkContext

Synopsis

Documentation

queryLinksWithContext :: Pandoc -> Map Url [Block] Source #

Query the pandoc document for all links

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