Portability | portable |
---|---|
Stability | provisional |
Maintainer | Andy Gill <andy@galconn.com> |
Text.Html
Description
An Html combinator library
Documentation
data HtmlElement Source
Constructors
HtmlString String | |
HtmlTag | |
Fields
|
Constructors
Html | |
Fields |
concatHtml :: HTML a => [a] -> HtmlSource
stringToHtml :: String -> HtmlSource
lineToHtml :: String -> HtmlSource
blockquote :: Html -> HtmlSource
background :: String -> HtmlAttrSource
bordercolor :: String -> HtmlAttrSource
cellpadding :: Int -> HtmlAttrSource
cellspacing :: Int -> HtmlAttrSource
frameborder :: Int -> HtmlAttrSource
identifier :: String -> HtmlAttrSource
marginheight :: Int -> HtmlAttrSource
marginwidth :: Int -> HtmlAttrSource
linesToHtml :: [String] -> HtmlSource
primHtmlChar :: String -> HtmlSource
Constructors
HtmlTable (BlockTable (Int -> Int -> Html)) |
mkHtmlTable :: BlockTable (Int -> Int -> Html) -> HtmlTableSource
renderTable :: BlockTable (Int -> Int -> Html) -> HtmlSource
Constructors
HotLink | |
Fields
|
renderHtml :: HTML html => html -> StringSource
prettyHtml :: HTML html => html -> StringSource
renderHtml' :: Int -> HtmlElement -> ShowSSource
prettyHtml' :: HtmlElement -> [String]Source