daisy / daisy/pipeline-modules

Ideas for px:html-chunker

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
enhancement refactoring
Dominant language
HTML
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Some new options could be added to `px:html-chunker`:

- [ ] the "always-break-before" and "always-break-after" options passed to `px:chunker` are currently hard-coded but could be exposed
- [ ] option to insert "prev" and "next" links
- [ ] option(s) to update the heading levels of the chunks using the new [`px:html-outline`](https://github.com/daisy/pipeline-modules/issues/14)

In addition, in the lower-level `px:chunker` step, the "link-attribute-name" option should be replaced by a "mapping" output that contains a `d:fileset` document with a mapping from old to new file names (similar to `px:fileset-copy` and `px:epub3-safe-uris`). A separate `px:html-update-links` step can then be used to fix the attributes. (Done in aaa3a996cbbd2d366d2daf22dfe46761532ad200.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.