git.iko.soy/typeable/pandoc
on master help sign in
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.

commit5e57beac8da4b5f2372e0d919b5abb93a862bdf2 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 10 Oct 2015, 13:42 (11 years ago) parentdd29289
1 file changed+2−1
src/Text/Pandoc.hs+2−1
src/Text/Pandoc.hs+2−1
@@ -121,6 +121,7 @@ module Text.Pandoc
121121 , getReader
122122 , getWriter
123123 , ToJsonFilter(..)
124+ , pandocVersion
124125 ) where
125126
126127import Text.Pandoc.Definition
@@ -170,7 +171,7 @@ import Text.Pandoc.Writers.CommonMark
170171import Text.Pandoc.Writers.Custom
171172import Text.Pandoc.Templates
172173import Text.Pandoc.Options
173−import Text.Pandoc.Shared (safeRead, warn, mapLeft)
174+import Text.Pandoc.Shared (safeRead, warn, mapLeft, pandocVersion)
174175import Text.Pandoc.MediaBag (MediaBag)
175176import Text.Pandoc.Error
176177import Data.Aeson