clckwrks-0.26.3: A secure, reliable content management system (CMS) and blogging platform
Safe HaskellSafe-Inferred
LanguageHaskell2010

Clckwrks.Markup.HsColour

Synopsis

Documentation

hscolour Source #

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.