snm-0.0.2: The Simple Nice-Looking Manual Generator.

Manual.Emit.XHTML

Synopsis

Documentation

render_manual_xhtml :: Manual -> StringSource

Render the manual as XHTML and show as a string

intro_ban_class :: Banner -> [HtmlAttr]Source

Get the banner class for banners in the introduction

section_ban_class :: Banner -> [HtmlAttr]Source

Banners for the sections

ban_class :: String -> Banner -> [HtmlAttr]Source

The banner's class

html_inline :: Bool -> Inline -> HtmlSource

Make an inline element into html

literal_spaces :: String -> HtmlSource

Convert all spaces and newlines into literal html spaces and newlines.

section_link :: String -> URL -> HtmlSource

Internal link to elsewhere in the document

extern_link :: String -> URL -> HtmlSource

External link to something else