Skip to content

Feature Request: Native PDF Rendering #4

@sutaC

Description

@sutaC

Feature Request: Native PDF Rendering

Currently, GG does not render PDF files in the repository view and instead shows that the format is unsupported, requiring users to open the file via the Raw button.

It would be useful to support inline PDF rendering on the file page using the browser’s built-in PDF viewer, while ensuring proper security isolation.

Proposed Functionality

  • Render PDF files directly in the repository file view

  • Provide a fallback option if the PDF cannot be loaded

  • Ensure the embedded PDF:

    • cannot access page storage or cookies
    • cannot execute scripts
    • is isolated from the parent page

This would improve usability by allowing users to preview PDFs without leaving the repository page, while maintaining security.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions