If possible, content could be handled a bit better on page breaks. At the moment it can (and does) happen, that a heading is the last line on a page, and the corresponding paragraph starts on the next page - in those cases, the paragraph should go to the next page as well. This applies to:
- Headings: No heading in the last line of a page - move it to the next
- Tables: Do not end a page with the first line of a table - move it to the next. Here could be a configuration item on how many table rows to keep together, but obviously we have to split the table at least when it's longer than a page.
- {{{ Code }}}: Do not end the page with the first line of it - move it to the next
- lists: the same (it simply does not look nice otherwise)
- paragraphs: optional setting for orphans (single line(s) at page end) and widows (single line(s) at page start), which also could apply to tables, code, and lists