generate_code_screenshot
Create syntax-highlighted code screenshots with customizable themes for sharing code snippets visually across programming languages.
Instructions
Generate a beautiful screenshot of code with syntax highlighting and themes
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | The code to screenshot | |
language | Yes | Programming language (e.g., javascript, python, rust) | |
theme | No | Color theme (dracula, nord, monokai, github-light, github-dark) |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "The code to screenshot",
"type": "string"
},
"language": {
"description": "Programming language (e.g., javascript, python, rust)",
"type": "string"
},
"theme": {
"description": "Color theme (dracula, nord, monokai, github-light, github-dark)",
"enum": [
"dracula",
"nord",
"monokai",
"github-light",
"github-dark"
],
"type": "string"
}
},
"required": [
"code",
"language"
],
"type": "object"
}