Copyright | Copyright (C) 2006-2015 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Conversion of markdown-formatted plain text to Pandoc
document.
- readMarkdown :: ReaderOptions -> String -> Either PandocError Pandoc
- readMarkdownWithWarnings :: ReaderOptions -> String -> Either PandocError (Pandoc, [String])
Documentation
:: ReaderOptions | Reader options |
-> String | String to parse (assuming |
-> Either PandocError Pandoc |
Read markdown from an input string and return a Pandoc document.
readMarkdownWithWarnings Source #
:: ReaderOptions | Reader options |
-> String | String to parse (assuming |
-> Either PandocError (Pandoc, [String]) |
Read markdown from an input string and return a pair of a Pandoc document and a list of warnings.