cheapskate-0.1.0.1: Experimental markdown processor.

Safe HaskellNone

Cheapskate.Parse

Synopsis

Documentation

markdown :: Options -> Text -> DocSource

Parses the input as a markdown document. Note that Doc is an instance of ToMarkup, so the document can be converted to Html using toHtml. A simple Text to Html filter would be

 markdownToHtml :: Text -> Html
 markdownToHtml = toHtml . markdown def