You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hope to add auto bookmarks hierarchy when export PDF #2695
PDF export generates a real bookmark/outline tree from the document's headings, so PDF readers show the navigation pane on the left. The export now passes generateTaggedPDF + generateDocumentOutline to Chromium's printToPDF, which produces /Outlines and /StructTreeRoot from the document's h1–h6.
Shipped in v0.20.0-beta.5 (51b039b3). Not in stable 0.19.1 — it will be in 0.20.0.
Activity
chenzunfeng commentedon Nov 30, 2021
I need this feature too. Like typora, the PDF exported has a bookmark for Table of Content. It's very convenient for PDF readers.

DYH-Hong commentedon Jan 8, 2022
Possible duplicate of #80 (comment)
SplitGemini commentedon Jan 18, 2024
Any updates? TOC is now implemented, but bookmarks for pdf are not.
SplitGemini commentedon Jan 18, 2024
Pay attention to the bookmark on the left, need this effect.
Jocs commentedon Sep 22, 2026
This is implemented now.
PDF export generates a real bookmark/outline tree from the document's headings, so PDF readers show the navigation pane on the left. The export now passes
generateTaggedPDF+generateDocumentOutlineto Chromium'sprintToPDF, which produces/Outlinesand/StructTreeRootfrom the document'sh1–h6.Shipped in v0.20.0-beta.5 (
51b039b3). Not in stable 0.19.1 — it will be in 0.20.0.Closing as completed.