Skip to content

Hope to add auto bookmarks hierarchy when export PDF #2695

Closed

Description

@lycnsc

Describe your feature request

What problem does this feature solve? [optional]

Additional context [optional]

Activity

  1. chenzunfeng commented on Nov 30, 2021

    @chenzunfeng

    I need this feature too. Like typora, the PDF exported has a bookmark for Table of Content. It's very convenient for PDF readers.
    图片

  2. DYH-Hong commented on Jan 8, 2022

    @DYH-Hong

    Possible duplicate of #80 (comment)

  3. SplitGemini commented on Jan 18, 2024

    @SplitGemini

    Any updates? TOC is now implemented, but bookmarks for pdf are not.

  4. SplitGemini commented on Jan 18, 2024

    @SplitGemini

    image

    Pay attention to the bookmark on the left, need this effect.

  5. added
    🦄 feature request
    🕊️ export/pdf
    on May 16, 2026
  6. Jocs commented on Sep 22, 2026

    @Jocs
    Member

    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 + 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.

    Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🕊️ export/pdf🦄 feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions