Skip to content

Include part and chapter titles when printing html #2257

Open
@JurajLieskovsky

Description

@JurajLieskovsky

Problem

When printing the output to a pdf only contents of the individual markdown files are included. This means that part and chapter titles defined in the summary are excluded from the resulting document.

With chapters this not as big of a problem, because you can simply add the title from the summary to the beginning of the corresponding markdown file manually, although you are still missing the automatic numbering. On the other hand with part titles this problem is much more significant as there are no corresponding files where they could be added.

Proposed Solution

The solution could be to automatically add a headings based on the level of the file and a special type heading for parts when rendering the pdf output. It could also be nice to have the part title optionally on a separate page.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PrintArea: The "printed" pageC-enhancementCategory: Enhancement or feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions