Safe Haskell | Safe-Infered |
---|
- renderHtml :: ByteString -> Extensions -> HtmlRenderMode -> Maybe Int -> ByteString
- noHtmlModes :: HtmlRenderMode
- allHtmlModes :: HtmlRenderMode
- smartypants :: ByteString -> ByteString
- data HtmlRenderMode = HtmlRenderMode {
- htmlSkipHtml :: Bool
- htmlSkipStyle :: Bool
- htmlSkipImages :: Bool
- htmlSkipLinks :: Bool
- htmlExpandTabs :: Bool
- htmlSafelink :: Bool
- htmlToc :: Bool
- htmlHardWrap :: Bool
- htmlUseXhtml :: Bool
- htmlEscape :: Bool
Documentation
:: ByteString | |
-> Extensions | |
-> HtmlRenderMode | |
-> Maybe Int | The maximum nesting of the HTML. If Nothing, a default value (16) will be used. |
-> ByteString |
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
HtmlRenderMode | |
|
Flag HtmlRenderMode |