diff options
| author | John MacFarlane <[email protected]> | 2023-01-12 09:01:56 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-01-12 09:04:29 -0800 |
| commit | d7960212c0d3bf57659f5f6d3ad054eda2d20746 (patch) | |
| tree | 97c92b385c5a136c267c9d611741add22494dd38 /doc/pandoc-server.md | |
| 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 'doc/pandoc-server.md')
| -rw-r--r-- | doc/pandoc-server.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/pandoc-server.md b/doc/pandoc-server.md index 108e9c1f6..2044a2b99 100644 --- a/doc/pandoc-server.md +++ b/doc/pandoc-server.md @@ -297,6 +297,11 @@ the first one given is the default. See `pandoc(1)` under `--reference-doc` for details. The contents of the file must be included under `files`. +`split-level` (integer, default 1) + +: Heading level at which documents are split in EPUB or + chunked HTML. + `epub-cover-image` (file path) : Cover image for EPUB. @@ -308,10 +313,6 @@ the first one given is the default. EPUB metadata. The contents of the file must be included under `files`. -`epub-chapter-level` (integer, default 1) - -: Heading level at which chapter splitting occurs in EPUBs. - `epub-subdirectory` (string, default "EPUB") : Name of content subdirectory in the EPUB container. |
