aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-07 23:10:17 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-07 23:11:14 -0700
commit91c989d6221991a47b1f0a9d180ccf3ce96b3f02 (patch)
tree0ae78b62dee006d93821ac909eaca4c12159c302 /src/Text/Pandoc/Readers.hs
parent6a9db1fde3b592a843b5fa6ce843a46cb3163968 (diff)
downloadpandoc-91c989d6221991a47b1f0a9d180ccf3ce96b3f02.tar.gz
Remove GFM modules; use CMarkGFM for both gfm and commonmark.
We no longer have a separate readGFM and writeGFM; instead, we'll use readCommonMark and writeCommonMark with githubExtensions. It remains to implement these extensions conditionally. Closes #3841.
Diffstat (limited to 'src/Text/Pandoc/Readers.hs')
-rw-r--r--src/Text/Pandoc/Readers.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Readers.hs b/src/Text/Pandoc/Readers.hs
index 996412d48..92a185e0d 100644
--- a/src/Text/Pandoc/Readers.hs
+++ b/src/Text/Pandoc/Readers.hs
@@ -45,7 +45,6 @@ module Text.Pandoc.Readers
, readOdt
, readMarkdown
, readCommonMark
- , readGFM
, readMediaWiki
, readVimwiki
, readRST
@@ -77,7 +76,6 @@ import Text.Pandoc.Error
import Text.Pandoc.Extensions
import Text.Pandoc.Options
import Text.Pandoc.Readers.CommonMark
-import Text.Pandoc.Readers.GFM
import Text.Pandoc.Readers.DocBook
import Text.Pandoc.Readers.Docx
import Text.Pandoc.Readers.EPUB
@@ -119,7 +117,7 @@ readers = [ ("native" , TextReader readNative)
,("markdown_github" , TextReader readMarkdown)
,("markdown_mmd", TextReader readMarkdown)
,("commonmark" , TextReader readCommonMark)
- ,("gfm" , TextReader readGFM)
+ ,("gfm" , TextReader readCommonMark)
,("rst" , TextReader readRST)
,("mediawiki" , TextReader readMediaWiki)
,("vimwiki" , TextReader readVimwiki)