Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data InlineRef
- parseInlineRef :: Inline -> Maybe (InlineRef, Attr, [Inline], (Text, Text))
- unParseLink :: HasCallStack => Inline -> Text
Documentation
A Pandoc inline node that refers to something else.
There are, currently, only two possible nodes: link & image.
Instances
unParseLink :: HasCallStack => Inline -> Text Source #
Given an inline that is known to be an InlineRef, reconstruct and return its orginal Markdown source.