| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Clckwrks.Markup.Pandoc
Documentation
Arguments
| :: MonadIO m | |
| => Maybe [String] | override command-line flags | 
| -> Trust | do we trust the author | 
| -> Text | markdown text | 
| -> m (Either Text Text) | Left error, Right html | 
run the text through the markdown executable. If successful,
 and the input is marked Untrusted, run the output through
 xss-sanitize / sanitizeBalance to prevent injection attacks.