Which languages are supported?
All languages supported by highlight.php (a port of highlight.js): JavaScript, TypeScript, Python, Ruby, Go, Rust, PHP, Java, C, C++, C#, Swift, Kotlin, HTML, CSS, SQL, YAML, JSON, Bash, and many more. Pass the language slug as the language input.
Which themes are available?
Any theme slug from the highlight.php styles directory. Common picks: atom-one-dark, atom-one-light, dracula, github-dark, github-light, monokai, nord, solarized-dark, solarized-light. Unknown theme names fall back to atom-one-dark.
Can I hide the window chrome?
Yes, set show_window_chrome to "false" and the traffic-light header is omitted. Useful for embedding inside a slide deck or document where the chrome would feel redundant. The padding and rounded corner of the code surface remain.
Can I show line numbers?
Yes, set show_line_numbers to "true". The numbers render in a muted weight on the left side of the code surface. They help reviewers reference specific lines but add visual noise, so default is off.
How do I match dimensions to my code?
Leave width and height unset and the renderer fits the content automatically. Set padding to control breathing room around the code surface. For a fixed canvas (slides or social), set both dimensions and let the code surface scale within them.
How does this compare to carbon.now.sh?
Carbon is a manual web tool you use one snippet at a time. This is an HTTP endpoint that returns a hosted PNG URL for programmatic use, which means you can render hundreds of snippets in CI or from a script. The visual style is comparable, but the workflow is automated.