-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Simple interface to commonmark-hs -- -- Simple interface to parsing Markdown using commonmark-hs @package commonmark-simple @version 0.1.0.0 module Commonmark.Simple -- | Parse a Markdown file using commonmark-hs with all extensions enabled parseMarkdownWithFrontMatter :: forall meta m il bl. (FromJSON meta, m ~ Either ParseError, bl ~ Cm () Blocks, il ~ Cm () Inlines) => SyntaxSpec m il bl -> FilePath -> Text -> Either Text (Maybe meta, Pandoc) parseMarkdown :: FilePath -> Text -> Either Text Pandoc -- | GFM + official commonmark extensions fullMarkdownSpec :: SyntaxSpec' m il bl => SyntaxSpec m il bl