pandoc-3.0: Conversion between markup formats
CopyrightCopyright (C) 2015-2023 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Pandoc.Readers.CommonMark

Description

Conversion of CommonMark-formatted plain text to Pandoc document.

CommonMark is a strongly specified variant of Markdown: http://commonmark.org.

Synopsis

Documentation

readCommonMark :: (PandocMonad m, ToSources a) => ReaderOptions -> a -> m Pandoc Source #

Parse a CommonMark formatted string into a Pandoc structure.