skills/smithery.ai/code-to-image

code-to-image

Installation
SKILL.md

Code to Image API

Generate beautiful code snippet images with syntax highlighting via html2png.dev.

How It Works

  1. Write HTML with syntax-highlighted code (use Shiki or similar)
  2. Style with Tailwind CSS or custom CSS
  3. Send to /api/convert endpoint
  4. Get a shareable image URL

Endpoint

POST https://html2png.dev/api/convert

Example

Installs
1
First Seen
Mar 20, 2026
code-to-image from smithery.ai