Silicon

Turn source code into syntax-highlighted images offline.

Silicon is a Rust command-line tool that renders source code as images without requiring a browser or an internet connection. It can read a file or clipboard content and produce images for documentation, presentations, and sharing code snippets.

Its rendering pipeline uses Syntect for syntax highlighting, with configurable fonts and visual styling. Local font and graphics-library requirements vary by operating system.