Text.Pandoc.Readers.RST

pandoc-1.17.0.1: Conversion between markup formats

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

Text.Pandoc.Readers.RST

Description

Conversion from reStructuredText to `Pandoc` document.

Synopsis

- readRST :: ReaderOptions -> String -> Either PandocError Pandoc
- readRSTWithWarnings :: ReaderOptions -> String -> Either PandocError (Pandoc, [String])

# Documentation

readRST

Arguments

:: ReaderOptions | Reader options
-> String | String to parse (assuming `'\n'` line endings)
-> Either PandocError Pandoc |

Parse reStructuredText string and return Pandoc document.

readRSTWithWarnings :: ReaderOptions -> String -> Either PandocError (Pandoc, [String])