commonmark-0.2.1: Pure Haskell commonmark parser.
Safe HaskellNone
LanguageHaskell2010

Commonmark.Html

Documentation

data Html a Source #

Instances

Instances details
Show (Html a) Source # 
Instance details

Defined in Commonmark.Html

Methods

showsPrec :: Int -> Html a -> ShowS

show :: Html a -> String

showList :: [Html a] -> ShowS

Semigroup (Html a) Source # 
Instance details

Defined in Commonmark.Html

Methods

(<>) :: Html a -> Html a -> Html a

sconcat :: NonEmpty (Html a) -> Html a

stimes :: Integral b => b -> Html a -> Html a

Monoid (Html a) Source # 
Instance details

Defined in Commonmark.Html

Methods

mempty :: Html a

mappend :: Html a -> Html a -> Html a

mconcat :: [Html a] -> Html a

ToPlainText (Html a) Source # 
Instance details

Defined in Commonmark.Html

Methods

toPlainText :: Html a -> Text Source #

HasAttributes (Html a) Source # 
Instance details

Defined in Commonmark.Html

Rangeable (Html ()) Source # 
Instance details

Defined in Commonmark.Html

Methods

ranged :: SourceRange -> Html () -> Html () Source #

Rangeable (Html SourceRange) Source # 
Instance details

Defined in Commonmark.Html

Rangeable (Html a) => IsInline (Html a) Source # 
Instance details

Defined in Commonmark.Html

Methods

lineBreak :: Html a Source #

softBreak :: Html a Source #

str :: Text -> Html a Source #

entity :: Text -> Html a Source #

escapedChar :: Char -> Html a Source #

emph :: Html a -> Html a Source #

strong :: Html a -> Html a Source #

link :: Text -> Text -> Html a -> Html a Source #

image :: Text -> Text -> Html a -> Html a Source #

code :: Text -> Html a Source #

rawInline :: Format -> Text -> Html a Source #

IsInline (Html a) => IsBlock (Html a) (Html a) Source # 
Instance details

Defined in Commonmark.Html

Methods

paragraph :: Html a -> Html a Source #

plain :: Html a -> Html a Source #

thematicBreak :: Html a Source #

blockQuote :: Html a -> Html a Source #

codeBlock :: Text -> Text -> Html a Source #

heading :: Int -> Html a -> Html a Source #

rawBlock :: Format -> Text -> Html a Source #

referenceLinkDefinition :: Text -> (Text, Text) -> Html a Source #

list :: ListType -> ListSpacing -> [Html a] -> Html a Source #

htmlInline :: Text -> Maybe (Html a) -> Html a Source #

htmlBlock :: Text -> Maybe (Html a) -> Html a Source #

htmlText :: Text -> Html a Source #

htmlRaw :: Text -> Html a Source #

renderHtml :: Html a -> Text Source #

escapeURI :: Text -> Text Source #

escapeHtml :: Text -> Builder Source #