Text.Pandoc.Writers.AsciiDoc

pandoc-3.7.0.2: Conversion between markup formats

Copyright | Copyright (C) 2006-2024 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.AsciiDoc

Description

Conversion of `Pandoc` documents to asciidoc.

Note that some information may be lost in conversion, due to expressive limitations of asciidoc. Footnotes and table cells with paragraphs (or other block items) are not possible in asciidoc. If pandoc encounters one of these, it will insert a message indicating that it has omitted the construct.

AsciiDoc: http://www.methods.co.nz/asciidoc/

Synopsis

- writeAsciiDoc :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeAsciiDocLegacy :: PandocMonad m => WriterOptions -> Pandoc -> m Text
- writeAsciiDoctor :: PandocMonad m => WriterOptions -> Pandoc -> m Text

# Documentation

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

Convert Pandoc to AsciiDoc.

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

Convert Pandoc to legacy AsciiDoc.

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

Deprecated: Use writeAsciiDoc instead

Deprecated synonym of `writeAsciiDoc`.