mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 14:15:44 +02:00
silicon: change the to and
This commit is contained in:
parent
c84a1a7ecc
commit
d386b8bc7e
1 changed files with 3 additions and 3 deletions
|
@ -3,14 +3,14 @@
|
||||||
> Create an image of source code.
|
> Create an image of source code.
|
||||||
> More information: <https://github.com/Aloxaf/silicon>.
|
> More information: <https://github.com/Aloxaf/silicon>.
|
||||||
|
|
||||||
- Generate the image from a specific source file:
|
- Generate an image from a specific source file:
|
||||||
|
|
||||||
`silicon {{path/to/source_file}} --output {{path/to/output_image}}`
|
`silicon {{path/to/source_file}} --output {{path/to/output_image}}`
|
||||||
|
|
||||||
- Generate the image from a source file with a specific programing language syntax highlighting (e.g. `rust`, `py`, `js`, etc.):
|
- Generate an image from a source file with a specific programing 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}} --output {{path/to/output_image}} --language {{language|extension}}`
|
||||||
|
|
||||||
- Generate the image from `stdin`:
|
- Generate an image from `stdin`:
|
||||||
|
|
||||||
`{{command}} | silicon --output {{path/to/output_image}}`
|
`{{command}} | silicon --output {{path/to/output_image}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue