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