summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers.hs
Commit message (Collapse)AuthorAge
* Remove GFM modules; use CMarkGFM for both gfm and commonmark.John MacFarlane2017-08-07
| | | | | | | | | | 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.
* Added gfm (GitHub-flavored CommonMark) as an input and output format.John MacFarlane2017-08-07
| | | | | | | | | | | | | | 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.
* Added TikiWiki reader (#3800)rlpowell2017-07-21
| | | | | | | 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).
* Readers.getReader, Writers.getWriter API change.John MacFarlane2017-06-24
| | | | | | | | | | | | | 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.
* Added Vimwiki reader (#3705).Yuchen Pei2017-06-19
| | | | | | * 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.
* Add Muse reader (#3620)Alexander Krotov2017-06-19
|
* Changed all readers to take Text instead of String.John MacFarlane2017-06-10
| | | | | | | | Readers: Renamed StringReader -> TextReader. Updated tests. API change.
* Readers: Changed StringReader -> TextReader.John MacFarlane2017-06-10
|
* API change: move reader functions to Text.Pandoc.ReadersAlbert Krewinkel2017-04-26
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.