aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-12 07:07:51 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-12 07:07:51 +0000
commit0ec77223637be86a49dba7c73c67a7fdec0703d4 (patch)
treebceab08056b546b86ded85c70f0376ff1ba9e117 /src
parent4f78aa9eca824c07d145a69b97dffaf22b8227ff (diff)
downloadpandoc-0ec77223637be86a49dba7c73c67a7fdec0703d4.tar.gz
Pandoc.hs:
+ added haddock documentation + added export of prettyPandoc and writeMan git-svn-id: https://pandoc.googlecode.com/svn/trunk@686 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc.hs35
1 files changed, 14 insertions, 21 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs
index 570f6a32f..a4738686b 100644
--- a/src/Text/Pandoc.hs
+++ b/src/Text/Pandoc.hs
@@ -31,25 +31,17 @@ from the Pandoc libraries.
module Text.Pandoc
(
- Pandoc (..)
- , Meta (..)
- , Alignment (..)
- , Block (..)
- , QuoteType (..)
- , Target
- , Inline (..)
-
- -- Text.Pandoc.UTF8
- , encodeUTF8
- , decodeUTF8
-
- -- readers
+ -- * Definitions
+ module Text.Pandoc.Definition
+ -- * Readers: converting /to/ Pandoc format
, readMarkdown
, readRST
, readLaTeX
, readHtml
-
- -- writers
+ -- * Parser state used in readers
+ , ParserState (..)
+ , defaultParserState
+ -- * Writers: converting /from/ Pandoc format
, writeMarkdown
, writeRST
, writeLaTeX
@@ -57,15 +49,15 @@ module Text.Pandoc
, writeHtmlString
, writeS5
, writeDocbook
+ , writeMan
, writeRTF
-
- -- module Text.Pandoc.Shared
- , ParserContext (..)
- , QuoteContext (..)
- , ParserState (..)
- , defaultParserState
+ , prettyPandoc
+ -- * Writer options used in writers
, WriterOptions (..)
, defaultWriterOptions
+ -- * UTF-8 encoding and decoding
+ , encodeUTF8
+ , decodeUTF8
) where
import Text.Pandoc.Definition
@@ -79,6 +71,7 @@ import Text.Pandoc.Writers.LaTeX
import Text.Pandoc.Writers.HTML
import Text.Pandoc.Writers.S5
import Text.Pandoc.Writers.Docbook
+import Text.Pandoc.Writers.Man
import Text.Pandoc.Writers.RTF
import Text.Pandoc.UTF8
import Text.Pandoc.Shared