aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/ConTeXt.hs
AgeCommit message (Collapse)AuthorFilesLines
2015-12-11Implemented SoftBreak and new `--wrap` option.John MacFarlane1-1/+1
Added threefold wrapping option. * Command line option: deprecated `--no-wrap`, added `--wrap=[auto|none|preserve]` * Added WrapOption, exported from Text.Pandoc.Options * Changed type of writerWrapText in WriterOptions from Bool to WrapOption. * Modified Text.Pandoc.Shared functions for SoftBreak. * Supported SoftBreak in writers. * Updated tests. * Updated README. Closes #1701.
2015-11-09Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane1-1/+0
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
2015-11-08Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane1-0/+1
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
2013-01-23Eliminated use of TH in test suite.John MacFarlane1-18/+18
2013-01-09Added Attr field to Header.John MacFarlane1-1/+1
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
2013-01-07Updated tests for tight/loose lists.John MacFarlane1-9/+10
Taking into account new context/latex output, and fixing some bugs in the test suite Tests.Helpers and Tests.Writers.ConTeXt. (We had the wrong order of expected/actual in the diff output.)
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane1-3/+2
2012-07-26Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane1-0/+70
2011-01-29Moved tests to src.John MacFarlane1-72/+0
2011-01-29Removed intentionally failing test in ConTeXt writer tests.John MacFarlane1-2/+2
2011-01-26Updates for compiling with ghc 7.John MacFarlane1-1/+1
We now use a CPP trick to have compatible quasiquotes that work in both GHC 6.12 and 7.
2011-01-22Use ANSI color to point to diffs in test output.John MacFarlane1-2/+2
ConTeXt writer bullet list test set to break as an example.
2011-01-22Added 'property' in Tests.Helpers & some quickcheck tests.John MacFarlane1-0/+12
2011-01-22Improved test framework.John MacFarlane1-12/+43
Now there is a uniform interface for reader and writer tests. Also added a quasiquoter, for multiline strings.
2011-01-21More informative output on writer test failure.John MacFarlane1-6/+6
2011-01-21Added Tests.Writers.ConTeXt and helpers for writer tests.John MacFarlane1-0/+29