code_image
Transform a code snippet into a syntax-highlighted PNG in a macOS-style window card, ready for documentation and social media. Set theme, language, and title to control the visual result.
Instructions
Turn a code snippet into a beautiful syntax-highlighted PNG (macOS-style window card). Great for sharing code on social media or docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code snippet to render | |
| theme | No | Card theme, default dark | |
| title | No | Filename shown in the window title bar | |
| language | No | Language for highlighting, e.g. javascript, python, go |