commonmark-0.2.6.1: Pure Haskell commonmark parser.

Safe Haskell | None
Language | Haskell2010

Commonmark.Html

# Documentation

data Html a #

#### Instances

Instances details

HasAttributes (Html a) # |
Instance details Defined in Commonmark.Html Methods addAttributes :: Attributes -> Html a -> Html a #
Rangeable (Html a) => IsInline (Html a) # |
Instance details Defined in Commonmark.Html Methods lineBreak :: Html a # softBreak :: Html a # str :: Text -> Html a # entity :: Text -> Html a # escapedChar :: Char -> Html a # emph :: Html a -> Html a # strong :: Html a -> Html a # link :: Text -> Text -> Html a -> Html a # image :: Text -> Text -> Html a -> Html a # code :: Text -> Html a # rawInline :: Format -> Text -> Html a #
Rangeable (Html SourceRange) # |
Instance details Defined in Commonmark.Html Methods ranged :: SourceRange -> Html SourceRange -> Html SourceRange #
Rangeable (Html ()) # |
Instance details Defined in Commonmark.Html Methods ranged :: SourceRange -> Html () -> Html () #
ToPlainText (Html a) # |
Instance details Defined in Commonmark.Html Methods toPlainText :: Html a -> Text #
Monoid (Html a) # |
Instance details Defined in Commonmark.Html Methods mempty :: Html a # mappend :: Html a -> Html a -> Html a # mconcat :: [Html a] -> Html a #
Semigroup (Html a) # |
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 #
Show (Html a) # |
Instance details Defined in Commonmark.Html Methods showsPrec :: Int -> Html a -> ShowS # show :: Html a -> String # showList :: [Html a] -> ShowS #
IsInline (Html a) => IsBlock (Html a) (Html a) # |
Instance details Defined in Commonmark.Html Methods paragraph :: Html a -> Html a # plain :: Html a -> Html a # thematicBreak :: Html a # blockQuote :: Html a -> Html a # codeBlock :: Text -> Text -> Html a # heading :: Int -> Html a -> Html a # rawBlock :: Format -> Text -> Html a # referenceLinkDefinition :: Text -> (Text, Text) -> Html a # list :: ListType -> ListSpacing -> [Html a] -> Html a #

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

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

htmlText :: Text -> Html a #

htmlRaw :: Text -> Html a #

addAttribute :: Attribute -> Html a -> Html a #

renderHtml :: Html a -> Text #

escapeURI :: Text -> Text #

escapeHtml :: Text -> Builder #