Repository navigation
Fix #195: Add Vector PDF export and modal options - #200
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Deploying markdownviewer with
|
| Latest commit: |
de8e20c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://13eeb131.markdownviewer.pages.dev |
| Branch Preview URL: | https://fix-pdf-export-blur.markdownviewer.pages.dev |
Deploying markdown-viewer with
|
| Latest commit: |
de8e20c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c7c47819.markdown-viewer.pages.dev |
| Branch Preview URL: | https://fix-pdf-export-blur.markdown-viewer.pages.dev |
ThisIs-Developer
force-pushed
the
fix/pdf-export-blur
branch
from
June 30, 2026 16:59
789b065 to
de8e20c
Compare
ThisIs-Developer
force-pushed
the
fix/pdf-export-blur
branch
from
June 30, 2026 17:28
18e5072 to
de8e20c
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #195
Root Cause:
The current PDF export architecture uses \html2canvas\ and \jsPDF\ to capture the entire rendered markdown document as a large raster image. This image is then sliced and placed into a PDF document. Because it is rasterized, text in the PDF is unselectable, fuzzy, and appears pixelated or blurred when zoomed in.
Implementation Approach:
To fix this while keeping the legacy raster export safe, I've split the PDF export options:
Before/After Behavior:
Testing Performed:
Limitations or trade-offs:
Confirmation: Unrelated export features (HTML export, PNG export, Markdown preview) were not broken.