Skip to content

feat: Add PNG Image Export Support#177

Merged
ThisIs-Developer merged 1 commit into
ThisIs-Developer:mainfrom
Sahaj33-op:feat/export-png
Jun 16, 2026
Merged

feat: Add PNG Image Export Support#177
ThisIs-Developer merged 1 commit into
ThisIs-Developer:mainfrom
Sahaj33-op:feat/export-png

Conversation

@Sahaj33-op

Copy link
Copy Markdown
Contributor

This PR adds the ability to export the markdown preview as a PNG image.

Changes

  • Added Image (.png) to the Export dropdown in the desktop and mobile toolbars.
  • Implemented exportPng utilizing html2canvas and FileSaver to capture the DOMPurify sanitized preview, identical to the PDF capture approach.
  • Propagated translation mappings for the new dropdown option.
  • Synchronized desktop-app/resources for Neutralinojs compatibility.

@Sahaj33-op

Copy link
Copy Markdown
Contributor Author

Output image of default markdown text:

document

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

@Sahaj33-op is attempting to deploy a commit to the ThisIs-Developer Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
markdown-viwer Ready Ready Preview, Comment Jun 16, 2026 4:54am

@ThisIs-Developer ThisIs-Developer merged commit c82fda6 into ThisIs-Developer:main Jun 16, 2026
4 checks passed
@ThisIs-Developer

Copy link
Copy Markdown
Owner

@Sahaj33-op Thank you for the PR! It's a great idea. I've reviewed the PR and merged it into the main branch. Thanks for your contribution!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants