cheapskate-0.1.1.1: Experimental markdown processor.
Cheapskate.Parse
markdown :: Options -> Text -> Doc Source #
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
Doc
ToMarkup
Html
toHtml
Text
markdownToHtml :: Text -> Html markdownToHtml = toHtml . markdown def