diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-08-03 10:50:05 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-07 16:59:31 -0700 |
commit | 2c81c4c218be757ff2610e3b47548f0642ce5c10 (patch) | |
tree | 888463a66a9af9bf56f9f635f2b0047080a4dbd3 /pandoc.cabal | |
parent | 8995281691b56d711c44fb0c5cae2fc675d12eb9 (diff) |
Added gfm (GitHub-flavored CommonMark) as an input and output format.
This uses bindings to GitHub's fork of cmark, so it should parse
gfm exactly as GitHub does (excepting certain postprocessing
steps, involving notifications, emojis, etc.).
* Added Text.Pandoc.Readers.GFM (exporting readGFM)
* Added Text.Pandoc.Writers.GFM (exporting writeGFM)
* Added `gfm` as input and output forma
Note that tables are currently always rendered as HTML
in the writer; this can be improved when CMarkGFM supports
tables in output.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 9de072755..6d43ca457 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -321,6 +321,7 @@ Library JuicyPixels >= 3.1.6.1 && < 3.3, Glob >= 0.7 && < 0.8, cmark >= 0.5 && < 0.6, + cmark-gfm >= 0.1.1 && < 0.2, doctemplates >= 0.1 && < 0.2, http-client >= 0.4.30 && < 0.6, http-client-tls >= 0.2.4 && < 0.4, @@ -370,6 +371,7 @@ Library Text.Pandoc.Readers.LaTeX.Types, Text.Pandoc.Readers.Markdown, Text.Pandoc.Readers.CommonMark, + Text.Pandoc.Readers.GFM, Text.Pandoc.Readers.MediaWiki, Text.Pandoc.Readers.Vimwiki, Text.Pandoc.Readers.RST, @@ -401,6 +403,7 @@ Library Text.Pandoc.Writers.Ms, Text.Pandoc.Writers.Markdown, Text.Pandoc.Writers.CommonMark, + Text.Pandoc.Writers.GFM, Text.Pandoc.Writers.Haddock, Text.Pandoc.Writers.RST, Text.Pandoc.Writers.Org, |