pandoc-1.17.2: Conversion between markup formats

CopyrightCopyright (C) 2006-2015 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Text.Pandoc.Readers.Markdown

Description

Conversion of markdown-formatted plain text to Pandoc document.

Synopsis

Documentation

readMarkdown Source #

Arguments

:: ReaderOptions

Reader options

-> String

String to parse (assuming '\n' line endings)

-> Either PandocError Pandoc 

Read markdown from an input string and return a Pandoc document.

readMarkdownWithWarnings Source #

Arguments

:: ReaderOptions

Reader options

-> String

String to parse (assuming '\n' line endings)

-> Either PandocError (Pandoc, [String]) 

Read markdown from an input string and return a pair of a Pandoc document and a list of warnings.