From a340c7249f8e19d36ee4a68663b4c97e0893292b Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sun, 22 May 2016 16:33:31 +0200 Subject: Org reader: extract parsing function to module The Org-mode reader uses many functions defined in the `Text.Pandoc.Parsing` utility module. Some of the functions are overwritten with versions adapted to Org-mode idiosyncrasies. These special functions, as well as the normal Pandoc versions, are combined in a single module to increase the ease of use. This leads to decoupling of Org-mode and Pandoc and hence to slightly cleaner code. The downside is code-bloat due to repeated import/export statements. --- pandoc.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'pandoc.cabal') diff --git a/pandoc.cabal b/pandoc.cabal index 24da05faa..61b5043ba 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -394,6 +394,7 @@ Library Text.Pandoc.Readers.Odt.Arrows.State, Text.Pandoc.Readers.Odt.Arrows.Utils, Text.Pandoc.Readers.Org.ParserState, + Text.Pandoc.Readers.Org.Parsing, Text.Pandoc.Writers.Shared, Text.Pandoc.Asciify, Text.Pandoc.MIME, -- cgit v1.2.3