aboutsummaryrefslogtreecommitdiff
path: root/pandoc.hs
AgeCommit message (Collapse)AuthorFilesLines
2013-01-11pandoc.hs: Fix writerSourceDirectory when a URL is provided.John MacFarlane1-3/+7
It should be the URL up to the path.
2013-01-10Options: Added phpMarkdownExtraExtensions.John MacFarlane1-5/+0
And added markdown_phpextra input/output format.
2013-01-05Changed --toc-level to --toc-depth.John MacFarlane1-6/+6
2013-01-05Changed `--epub-toc-level` to `--toc-level`.John MacFarlane1-15/+16
Also writerEpubTOCLevel -> writerTOCLevel. So far this is only implemented in the EPUB writer.
2013-01-04Renamed local variable for consistency (EPUB->Epub).John MacFarlane1-20/+20
2013-01-04Renamed writerEPUBMetadata -> writerEpubMetadata.John MacFarlane1-1/+1
API change for consistency.
2013-01-04Added `--epub-chapter-level` and `--epub-toc-level` options.John MacFarlane1-0/+30
Also added writerEpubChapterLevel and writerEpubTOCLevel fields to WriterOptions.
2013-01-03Changed type of 'readers' in Text.Pandoc, so all readers are in IO.John MacFarlane1-2/+3
Users who want pure readers can still get them; this just affects the function getReader that looks up a reader based on the format name. The point of this change is to make it possible to print warnings from the parser.
2013-01-03Fixed paths for LaTeXMathML and MathMLinHTML scripts.John MacFarlane1-2/+2
2012-12-29Data files changes.John MacFarlane1-9/+13
* Added `embed_data_files` flag. (not yet used) * Shared no longer exports `findDataFile`. * `readDataFile` now returns a strict bytestring. * Shared now exports `readDataFileUTF8` which returns a string like the old `readDataFile`. * Rewrote modules to use new data file functions and to avoid using functions from Paths_pandoc directly.
2012-12-29Cabal file changes.John MacFarlane1-0/+1052
* Remove executable and library flags. * Expose `Text.Pandoc.XML` and `Text.Pandoc.Biblio`. * Depend on pandoc library in executable, so we don't recompile everything. * Move pandoc.hs from src/ to .