aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Helpers.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert+github@zeitkraut.de>2016-11-27 20:31:04 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-27 20:31:04 +0100
commit1fc07ff4dae5b3673ac2090d0a52f69afc1f078e (patch)
treeee546210df74e004968a7383d2c62aaa92c9415a /tests/Tests/Helpers.hs
parent08bf8f2e9d1ee2bb522b95df9fb1df37f5919c30 (diff)
downloadpandoc-1fc07ff4dae5b3673ac2090d0a52f69afc1f078e.tar.gz
Refactor top-level division selection (#3261)
The "default" option is no longer represented as `Nothing` but via a new type constructor, making the `Maybe` wrapper superfluous. The default behavior of using heuristics can now be enabled explicitly by setting `--top-level-division=default`. API change (`Text.Pandoc.Options`): The `Division` type was renamed to `TopLevelDivision`. The `Section`, `Chapter`, and `Part` constructors were renamed to `TopLevelSection`, `TopLevelChapter`, and `TopLevelPart`, respectively. An additional `TopLevelDefault` constructor was added, which is now also the new default value of the `writerTopLevelDivision` field in `WriterOptions`.
Diffstat (limited to 'tests/Tests/Helpers.hs')
0 files changed, 0 insertions, 0 deletions