John MacFarlane
18ab864269
Moved tests/ -> test/.
2017-02-04 12:56:30 +01:00
John MacFarlane
1673bda95e
Update tests to work with runPure.
2017-01-25 17:07:39 +01:00
Jesse Rosenthal
49b0b67b11
Remove Tests.Arbitrary
...
Use exported Arbitrary instances from pandoc-types instead.
2016-10-14 09:22:29 -04:00
John MacFarlane
0b0a0e730f
Removed some redundant class constraints.
2016-07-14 08:54:06 -07:00
John MacFarlane
536b6bf538
Implemented SoftBreak and new --wrap
option.
...
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-12-11 23:55:08 -08:00
John MacFarlane
23b693c029
Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."
...
This reverts commit c423dbb5a3
.
2015-11-09 10:08:22 -08:00
John MacFarlane
c423dbb5a3
Use -XNoImplicitPrelude and 'import Prelude' explicitly.
...
This is needed for ghci to work with pandoc, given that we
now use a custom prelude.
Closes #2503 .
2015-11-08 16:56:59 -08:00
John MacFarlane
82b3e0ab97
Use custom Prelude to avoid compiler warnings.
...
- The (non-exported) prelude is in prelude/Prelude.hs.
- It exports Monoid and Applicative, like base 4.8 prelude,
but works with older base versions.
- It exports (<>) for mappend.
- It hides 'catch' on older base versions.
This allows us to remove many imports of Data.Monoid
and Control.Applicative, and remove Text.Pandoc.Compat.Monoid.
It should allow us to use -Wall again for ghc 7.10.
2015-10-14 09:09:10 -07:00
John MacFarlane
0f01421f81
AsciiDoc writer: Double markers in intraword emphasis.
...
Closes #1441 .
2014-07-20 12:24:53 -07:00
John MacFarlane
6b532c2131
Added Tests.Writer.AsciiDoc to repository.
2014-05-03 22:33:36 -07:00