Skip to content

Export to PDF Format is Broken #232

Description

@Guardiancelte

Describe the bug
Exporting to PDF, format is broken

To Reproduce
Steps to reproduce the behavior:

  1. Open a .md
  2. Click export to PDF
  3. Preview shows a lot of overlaps and only aligned to the left

Expected behavior
I would expect the same format as HTML, which right now I convert to HTML and then do print using my browser which then the pdf format has no issues

Screenshots
Hard stress test
< img width="2291" height="2043" alt="Image" src="https://github.com/user-attachments/assets/cd30890d-3a39-4991-80cd-aada30e8ce2c" />

Easy stress test
< img width="2209" height="2052" alt="Image" src="https://github.com/user-attachments/assets/58ed21f5-00fe-45ec-a190-26c5a5c89622" />

Device

  • OS: Windows 11
  • App Version: 2.6.12

Additional context
I created 2 test files with GPT as I could share my private data, a easy and hard one. The easy one I would expect to be handled without issues to be honest.

Stress Test Easy.md
Stress Test Hard.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions