printing to pdf: no table of content automatically created
Open
Nobody has claimed this yet.
enhancement
feature: printing
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
To Reproduce
Steps to reproduce the behavior:
- have multi-page markdown document with different headings and -levels
- ctrl + p
- print to pdf
- in a pdf reader, go to sidebar > contents, see that no content overview is created, only page previews
Expected behavior
- using the headings, a table of contents inside the pdf is automatically created (most pdf viewers show this in the left sidebar)
Server details:
- Nextcloud version: "31.0.8"
- cloud.nextcloud.com
Client details:
- OS: Linux Mint
- Browser: Firefox 141.0.3
- Device: laptop
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides a browser reproduction using a multi-page Markdown document and Firefox's print-to-PDF flow, but it names no source files or tests. Start by reproducing the missing PDF contents outline, then trace the document printing flow. Done means headings produce a navigable contents outline in the generated PDF.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100