exporting-to-png

Installation
SKILL.md

Exporting to PNG

Convert code snippets, Markdown content, terminal output, diagrams, or rendered UI components into PNG image files.

Methods

1. HTML → PNG via Headless Browser

The most flexible approach. Render any content as HTML and screenshot it.

# Using Playwright (if available)
npx playwright screenshot --full-page "file:///path/to/content.html" output.png
Installs
148
GitHub Stars
534
First Seen
Apr 12, 2026
exporting-to-png — spencerpauly/awesome-cursor-skills