sundown-0.2.1: Binding to upskirt

Text.Sundown.Renderers.Html

Synopsis

Documentation

renderHtmlSource

Arguments

:: 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.

data HtmlRenderMode Source

Constructors

HtmlRenderMode 

Fields

htmlSkipHtml :: Bool

Drop in-line HTML tags from the output

htmlSkipStyle :: Bool

Don't add any style tags to the output

htmlSkipImages :: Bool

Don't include images in the output

htmlSkipLinks :: Bool

Don't include links in the output

htmlExpandTabs :: Bool
 
htmlSafelink :: Bool

Sanity check links for known URL schemes

htmlToc :: Bool

Include a table of contents in the output

htmlHardWrap :: Bool
 
htmlGithubBlockcode :: Bool
 
htmlUseXhtml :: Bool

Produce XHTML output instead of HTML

Instances