Add helptext for merge --demote_headers.

This commit is contained in:
Ethan Dalool 2020-02-02 19:36:16 -08:00
parent 30ae76367f
commit dcfb2edf85

View file

@ -1250,6 +1250,11 @@ merge:
> epubfile.py merge book1.epub book2.epub --output final.epub <flags> > epubfile.py merge book1.epub book2.epub --output final.epub <flags>
flags: flags:
--demote_headers
All h1 in the book will be demoted to h2, and so forth. So that the
headerfiles are the only h1s and the table of contents will generate
with a good hierarchy.
--headerfile: --headerfile:
Add a file before each book with an <h1> containing its title. Add a file before each book with an <h1> containing its title.