aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/RST.hs
AgeCommit message (Collapse)AuthorFilesLines
2016-11-30Options: Removed writerStandalone, made writerTemplate a Maybe.John MacFarlane1-4/+2
Previously setting writerStandalone = True did nothing unless a template was provided in writerTemplate. Now a fragment will be generated if writerTemplate is Nothing; otherwise, the specified template will be used and standalone output generated. [API change]
2016-10-14Remove Tests.ArbitraryJesse Rosenthal1-1/+1
Use exported Arbitrary instances from pandoc-types instead.
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.
2015-10-12RST writer: do header normalization only in "standalone" mode.John MacFarlane1-8/+13
If we're producing a fragment, just skip normalization. After all, the fragment might be somewhere in the middle of the document. It's more important for fragments to have consistency in rendering (so they can be pieced together) than to normalize. This closes #2394. It's simpler and more robust than my earlier fix.
2015-09-19[RST Writer] Don't normalize heading levels below input minimumNikolay Yakimov1-0/+25
2015-04-16RST Writer: Tests for rubrics and heading normalizationNikolay Yakimov1-0/+79