snipgrapher

Generate syntax-highlighted code snippet images as PNG, SVG, and WebP exports.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/novvoo/skill-router --skill snipgrapher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: snipgrapher
Source: https://github.com/novvoo/skill-router/tree/main/agent/skills/snipgrapher
Command: npx skills add https://github.com/novvoo/skill-router --skill snipgrapher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of visually appealing code snippet images, perfect for documentation, social media, or presentations.

Core Features & Use Cases

  • Generate syntax-highlighted PNG, SVG, and WebP images from code.
  • Customize themes, profiles, and styling for professional output.
  • Supports single-file rendering, batch processing, and watch mode for continuous updates.
  • Use cases include creating shareable code graphics, producing assets for documentation, and generating pretty code snippets for blogs or social posts.

Quick Start

Render the file 'example.ts' to a PNG image named 'snippet.png' using the default settings.

Frequently Asked Questions about snipgrapher

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate syntax-highlighted code snippet images from my source files?

To generate syntax-highlighted code snippet images, you can render source files directly into PNG, SVG, or WebP formats using customizable themes and styling profiles for professional visual output.

Can I batch process multiple code files into shareable images at once?

Yes, you can batch process multiple code files into shareable images. The tool supports batch jobs alongside single-file renders, allowing you to automate generating syntax-highlighted graphics for entire directories.

What is the best way to continuously update code snippet images during development?

The best way to continuously update code snippet images is by using watch mode. This monitors your files and automatically regenerates PNG or SVG exports whenever your code changes, ensuring your documentation stays synced.

Does this code snippet image generator support exporting to SVG and WebP formats?

Yes, this code snippet image generator supports exporting to SVG and WebP formats, alongside standard PNG. You can customize themes and styling profiles to produce high-quality vector or raster graphics for your specific needs.

Do I need to install any dependencies to render code snippets into images?

No, you do not need to install dependencies to render code snippets into images. You can use the tool via npx, allowing you to generate syntax-highlighted PNGs and SVGs directly from your command line without a global install.