diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-01-12 09:01:56 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-01-12 09:04:29 -0800 |
| commit | d7960212c0d3bf57659f5f6d3ad054eda2d20746 (patch) | |
| tree | 97c92b385c5a136c267c9d611741add22494dd38 /pandoc-server/src/Text | |
| parent | 2101dcf54ce5d3d2ecce300ca97dba47c5d61f02 (diff) | |
Replace `--epub-chapter-level` with `--split-level`.
Rationale: we need this splitting level now not just in
EPUB but in chunked HTML.
`--epub-chapter-level` will still function as a deprecated
synonynm. `epub-chapter-level` will also continue to work in
defaults files, ande `epub_chapter_level` will still work for
Lua marshalling.
[API changes]
Text.Pandoc.App.Opt: remove `optEpubChapterLevel`, add
`optSplitLevel`.
Text.Pandoc.Options: remove `writerEpubChapterLevel`, add
`writerSplitLevel`.
Diffstat (limited to 'pandoc-server/src/Text')
| -rw-r--r-- | pandoc-server/src/Text/Pandoc/Server.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc-server/src/Text/Pandoc/Server.hs b/pandoc-server/src/Text/Pandoc/Server.hs index 03b3222aa..7cafa44bf 100644 --- a/pandoc-server/src/Text/Pandoc/Server.hs +++ b/pandoc-server/src/Text/Pandoc/Server.hs @@ -332,7 +332,7 @@ server = convertBytes , writerEpubSubdirectory = T.pack $ optEpubSubdirectory opts , writerEpubMetadata = T.pack <$> optEpubMetadata opts , writerEpubFonts = optEpubFonts opts - , writerEpubChapterLevel = optEpubChapterLevel opts + , writerSplitLevel = optSplitLevel opts , writerTOCDepth = optTOCDepth opts , writerReferenceDoc = optReferenceDoc opts , writerReferenceLocation = optReferenceLocation opts |
