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:
{{input}} | carbon-now
-
Create images interactively for custom settings and optionally save a preset:
carbon-now -i {{path/to/file}}
-
Create images from previously saved preset:
carbon-now -p {{preset}} {{path/to/file}}
-
Start at a specified line of text:
carbon-now -s {{line}} {{path/to/file}}
-
End 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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.