diff options
author | Albert Krewinkel <albert+github@zeitkraut.de> | 2016-11-27 20:31:04 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-11-27 20:31:04 +0100 |
commit | 1fc07ff4dae5b3673ac2090d0a52f69afc1f078e (patch) | |
tree | ee546210df74e004968a7383d2c62aaa92c9415a /tests/s5-inserts.html | |
parent | 08bf8f2e9d1ee2bb522b95df9fb1df37f5919c30 (diff) | |
download | pandoc-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/s5-inserts.html')
0 files changed, 0 insertions, 0 deletions