pandoc-2.15: Conversion between markup formats
CopyrightCopyright (C) 2006-2021 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellNone
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