clckwrks-0.19.2: A secure, reliable content management system (CMS) and blogging platform

Safe HaskellNone

Clckwrks.Markup.HsColour

Synopsis

Documentation

hscolourSource

Arguments

:: MonadIO m 
=> Maybe [String]

override command-line flags

-> Text

markdown text

-> m (Either Text Text)

Left error, Right html

run the text through the markdown executable and, if successful, run the output through xss-sanitize / sanitizeBalance to prevent injection attacks.