markdown-0.1.17.3: Convert Markdown to HTML, with XSS protection

Safe HaskellNone
LanguageHaskell98

Text.Markdown.Inline

Documentation

data Inline Source #

Constructors

InlineText Text 
InlineItalic [Inline] 
InlineBold [Inline] 
InlineCode Text 
InlineHtml Text 
InlineLink Text (Maybe Text) [Inline]

URL, title, content

InlineImage Text (Maybe Text) Text

URL, title, content

InlineFootnoteRef Integer

The footnote reference in the body

InlineFootnote Integer 
Instances
Eq Inline Source # 
Instance details

Defined in Text.Markdown.Types

Methods

(==) :: Inline -> Inline -> Bool #

(/=) :: Inline -> Inline -> Bool #

Show Inline Source # 
Instance details

Defined in Text.Markdown.Types

toInline :: RefMap -> Text -> [Inline] Source #