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

Text.Pandoc.Writers.RST

Description

Conversion of Pandoc documents to reStructuredText.

reStructuredText: http://docutils.sourceforge.net/rst.html

Synopsis

Documentation

writeRST :: PandocMonad m => WriterOptions -> Pandoc -> m Text Source #

Convert Pandoc to RST.

flatten :: Inline -> [Inline] Source #

Flattens nested inlines. Extracts nested inlines and goes through them either collapsing them in the outer inline container or pulling them out of it