Skip to content

Refine printed Markdown spacing and block presentation #332

Description

@PathGao

Scope

Improve only the print-media presentation used by native PDF export:

  • paper spacing for headings, paragraphs, lists, and blockquotes
  • code-block pagination and visual boundary
  • maximum width and basic spacing for images and tables

Constraints

Keep window.print() and the existing print DOM. Do not add generated headers/footers, a printable TOC, page numbering, DOM composition, a PDF renderer, or changes to interactive preview styling.

Validation

Use a long mixed-content fixture in an isolated macOS release bundle; inspect the generated PDF pages visually. Confirm the split-view full-page-width fix remains intact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions