markdown-0.1.17.4: 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

Instances details
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

Methods

showsPrec :: Int -> Inline -> ShowS

show :: Inline -> String

showList :: [Inline] -> ShowS

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