aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-01-06Add DokuWiki reader (#5108)Alexander1-0/+3
Closes #1792
2018-11-29Changed types of writeJSON and readJSON.John MacFarlane1-8/+7
Previously they were not monadic; we now have them run in an instance of the Pandoc monad, like the other readers and writers. [API change]
2018-05-09Merge branch 'master' into groff_readerYan Pashkovsky1-2/+7
2018-04-26Add FB2 reader (#4539)Alexander1-0/+3
2018-03-29Removed unused extensions (#4506)Anabra1-3/+3
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-0/+2
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2018-02-25initialYan Pas1-0/+2
2018-01-05Update copyright notices to include 2018Albert Krewinkel1-2/+2
2017-12-20Add Basic JATS reader based on DocBook readerHamish Mackenzie1-1/+4
2017-10-27Automatic reformating by stylish-haskell.John MacFarlane1-5/+5
2017-10-26Creole reader (#3994)Sascha Wilde1-0/+3
This is feature complete but not very thoroughly tested yet.
2017-08-07Remove GFM modules; use CMarkGFM for both gfm and commonmark.John MacFarlane1-3/+1
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.
2017-08-07Added gfm (GitHub-flavored CommonMark) as an input and output format.John MacFarlane1-0/+3
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.
2017-07-21Added TikiWiki reader (#3800)rlpowell1-0/+3
Added TikiWiki reader, including tests and documentation. It's probably not *complete*, but it works pretty well, handles all the basics (and some not-so-basics).
2017-06-24Readers.getReader, Writers.getWriter API change.John MacFarlane1-8/+4
Now these functions return a pair of a reader/writer and an Extensions, instead of building the extensions into the reader/writer. The calling code must explicitly set readerExtensions or writerExtensions using the Extensions returned. The point of the change is to make it possible for the calling code to determine what extensions are being used. See #3659.
2017-06-19Added Vimwiki reader (#3705).Yuchen Pei1-0/+3
* New module Text.Pandoc.Readers.Vimwiki, exporting readVimwiki [API change]. * New input format `vimwiki`. * New data file, `data/vimwiki.css`, for displaying the HTML produced by this reader and pandoc's HTML writer in the style of vimwiki's own HTML export.
2017-06-19Add Muse reader (#3620)Alexander Krotov1-0/+3
2017-06-10Changed all readers to take Text instead of String.John MacFarlane1-1/+0
Readers: Renamed StringReader -> TextReader. Updated tests. API change.
2017-06-10Readers: Changed StringReader -> TextReader.John MacFarlane1-23/+26
2017-04-26API change: move reader functions to Text.Pandoc.ReadersAlbert Krewinkel1-0/+146
Reader helper functions were defined in the top-level Text.Pandoc module. These functions are moved to the Readers submodule as to enable reuse in other submodules.