Write with context
Edit code with syntax highlighting for a range of languages and an adjustable filename.
A STUDIO FOR CODE
Make the snippet worth sharing.
A code-to-image studio with syntax highlighting, live artwork preview, and configurable export sizes.
THE STARTING POINT
Elevate a basic code screenshot generator into a flexible mini-editor for polished visual snippets.
The hard part is keeping preview and exported artwork in sync while users change layout, size, theme, and typography.
Use one artboard model for preview and export, then offer Electric Blue styling, syntax highlighting, and light/dark code windows.
WHAT WENT INTO IT
Edit code with syntax highlighting for a range of languages and an adjustable filename.
Background themes, padding, text scale and multiple aspect-ratio presets.
The editor interface and code window can use independent appearance settings.
Choose 2× or 3× output while keeping layout tied to the artwork model used in the preview.
STATE OF THE BUILD
SNIPLAB V2 is live at sniplab.sutkaew.xyz with export scaling and customizable artboards. Further real-browser export-parity testing is still worthwhile.
THE NEXT ITERATION
Compare exported PNGs with browser previews
Broader language support
Improve the live export experience