Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-17 00:19:47 +00:00
parent b18a761896
commit aa594e72af
88 changed files with 444 additions and 114 deletions

View File

@@ -6,16 +6,17 @@ source: https://github.com/tldr-pages/tldr.git
# silicon
> Create an image of source code.
> More information: <https://github.com/Aloxaf/silicon>.
> See also: `freeze`.
> More information: <https://github.com/Aloxaf/silicon#examples>.
- Generate an image from a specific source file:
`silicon {{path/to/source_file}} --output {{path/to/output_image}}`
`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}} --output {{path/to/output_image}} --language {{language|extension}}`
`silicon {{path/to/source_file}} {{[-o|--output]}} {{path/to/output_image}} {{[-l|--language]}} {{language|extension}}`
- Generate an image from `stdin`:
`{{command}} | silicon --output {{path/to/output_image}}`
`{{command}} | silicon {{[-o|--output]}} {{path/to/output_image}}`