aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-10 13:42:02 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-10 13:42:02 -0700
commit5e57beac8da4b5f2372e0d919b5abb93a862bdf2 (patch)
tree153e5b0fa341bee9733d302a7f5be12f3ee1c7b5 /src
parentdd292898063a4583e455c16e1e52654ea7b38e8d (diff)
downloadpandoc-5e57beac8da4b5f2372e0d919b5abb93a862bdf2.tar.gz
Re-export pandocVersions from Text.Pandoc.
The actual definition has been moved to Text.Pandoc.Shared, but to avoid breaking changes we reexport it here.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs
index 842128124..e49fef3b5 100644
--- a/src/Text/Pandoc.hs
+++ b/src/Text/Pandoc.hs
@@ -121,6 +121,7 @@ module Text.Pandoc
, getReader
, getWriter
, ToJsonFilter(..)
+ , pandocVersion
) where
import Text.Pandoc.Definition
@@ -170,7 +171,7 @@ import Text.Pandoc.Writers.CommonMark
import Text.Pandoc.Writers.Custom
import Text.Pandoc.Templates
import Text.Pandoc.Options
-import Text.Pandoc.Shared (safeRead, warn, mapLeft)
+import Text.Pandoc.Shared (safeRead, warn, mapLeft, pandocVersion)
import Text.Pandoc.MediaBag (MediaBag)
import Text.Pandoc.Error
import Data.Aeson