haddock

Portabilityportable
Stabilityexperimental
Maintainerhaddock@projects.haskell.org
Safe HaskellSafe-Infered

Haddock.Backends.Xhtml.Utils

Description

 

Synopsis

Documentation

namedAnchor :: String -> Html -> Html

Generate a named anchor

groupId :: String -> String

generate an anchor identifier for a group

(<+>) :: Html -> Html -> Html

char :: Char -> Html

nonEmpty :: (Html -> Html) -> Html -> Html

Make an element that always has at least something (a non-breaking space) If it would have otherwise been empty, then give it the class .empty

punctuate :: Html -> [Html] -> [Html]

hsep :: [Html] -> Html

collapseSection :: String -> Bool -> String -> [HtmlAttr]

Attributes for an area that can be collapsed

collapseToggle :: String -> [HtmlAttr]

Attributes for an area that toggles a collapsed area

collapseControl :: String -> Bool -> String -> [HtmlAttr]

Attributes for an area that toggles a collapsed area, and displays a control.