pandoc-3.1.13: Conversion between markup formats

Copyright | Copyright (C) 2006-2023 John MacFarlane
License | GNU GPL, version 2 or above
Maintainer | John MacFarlane <jgm@berkeley.edu>
Stability | alpha
Portability | portable
Safe Haskell | None
Language | Haskell2010

Text.Pandoc.Writers.Markdown

Description

Conversion of `Pandoc` documents to markdown-formatted plain text.

Markdown: https://daringfireball.net/projects/markdown/

Synopsis

- writeMarkdown :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeCommonMark :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeMarkua :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writePlain :: PandocMonad m => WriterOptions -> Pandoc -> m Text

# Documentation

writeMarkdown :: PandocMonad m => WriterOptions -> Pandoc -> m Text #

Convert Pandoc to Markdown.

writeCommonMark :: PandocMonad m => WriterOptions -> Pandoc -> m Text #

Convert Pandoc to Commonmark.

writeMarkua :: PandocMonad m => WriterOptions -> Pandoc -> m Text #

Convert Pandoc to Markua.

writePlain :: PandocMonad m => WriterOptions -> Pandoc -> m Text #

Convert Pandoc to plain text (like markdown, but without links, pictures, or inline formatting).