Text.Upskirt.Renderers.Html
- renderHtml :: ByteString -> Extensions -> HtmlRenderMode -> ByteString
- noHtmlModes :: HtmlRenderMode
- allHtmlModes :: HtmlRenderMode
- smartypants :: ByteString -> ByteString
- data HtmlRenderMode = HtmlRenderMode {}
Documentation
renderHtml :: ByteString -> Extensions -> HtmlRenderMode -> ByteStringSource
Parses a ByteString containing the markdown, returns the Html
code.
noHtmlModes :: HtmlRenderModeSource
All the HtmlRenderMode disabled
allHtmlModes :: HtmlRenderModeSource
All the HtmlRenderMode enabled
smartypants :: ByteString -> ByteStringSource
Converts punctuation in Html entities, http://daringfireball.net/projects/smartypants/
data HtmlRenderMode Source
Constructors
| HtmlRenderMode | |
Fields
| |
Instances
| Flag HtmlRenderMode |