danburzo/percollate

Can I convert an HTML into an epub and automatically generate a table of contents with the H2 headings?

jinshuqishi2019 opened this issue · 2 comments

Feature description

Can I convert an HTML into an epub and automatically generate a table of contents with the H2 headings?

We could probably add a --toc-level option to control how deep the table of contents of the generated document should be.

Released --toc-level as part of percollate@v4.1.1.