mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* pages*: add missing mnemonics --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
36 lines
879 B
Markdown
36 lines
879 B
Markdown
# carbon-now
|
|
|
|
> Create beautiful images of code.
|
|
> More information: <https://github.com/mixn/carbon-now-cli>.
|
|
|
|
- Create an image from a file using default settings:
|
|
|
|
`carbon-now {{path/to/file}}`
|
|
|
|
- Create an image from a text in clipboard using default settings:
|
|
|
|
`carbon-now --from-clipboard`
|
|
|
|
- Create an image from `stdin` using default settings and copy to the clipboard:
|
|
|
|
`{{input}} | carbon-now --to-clipboard`
|
|
|
|
- Create images [i]nteractively for custom settings and optionally save a preset:
|
|
|
|
`carbon-now -i {{path/to/file}}`
|
|
|
|
- Create images from a previously saved [p]reset:
|
|
|
|
`carbon-now -p {{preset}} {{path/to/file}}`
|
|
|
|
- [s]tart at a specified line of text:
|
|
|
|
`carbon-now -s {{line}} {{path/to/file}}`
|
|
|
|
- [e]nd at a specific line of text:
|
|
|
|
`carbon-now -e {{line}} {{path/to/file}}`
|
|
|
|
- Open image in a browser instead of saving:
|
|
|
|
`carbon-now --open {{path/to/file}}`
|