commands.sh

silicon

all

Create an image of source code. See also: `freeze`.

More info →

Options (2)

-o, --outputboolean

Generate an image from a specific source file

Example: silicon {{path/to/source_file}} {{[-o|--output]}} {{path/to/output_image}}
-l, --languageboolean

Generate an image from a source file with a specific programming language syntax highlighting (e.g. `rust`, `py`, `js`, etc.)

Example: silicon {{path/to/source_file}} {{[-o|--output]}} {{path/to/output_image}} {{[-l|--language]}} {{language|extension}}

Examples (3)

Generate an image from a specific source file

silicon path/to/source_file [-o|--output] path/to/output_image

Generate an image from a source file with a specific programming language syntax highlighting (e.g. `rust`, `py`, `js`, etc.)

silicon path/to/source_file [-o|--output] path/to/output_image [-l|--language] language|extension

Generate an image from `stdin`

command | silicon [-o|--output] path/to/output_image
made by @shridhargupta | data from tldr-pages