LinuxCommandLibrary

carbon-now

Create beautiful images of code.

TLDR

Create an image from a file using default settings

$ carbon-now [path/to/file]
copy


Create an image from a text in clipboard using default settings
$ carbon-now --from-clipboard
copy


Create an image from stdin using default settings
$ [input] | carbon-now
copy


Create images interactively for custom settings and optionally save a preset
$ carbon-now -i [path/to/file]
copy


Create images from previously saved preset
$ carbon-now -p [preset] [path/to/file]
copy


Start at a specified line of text
$ carbon-now -s [line] [path/to/file]
copy


End at a specific line of text
$ carbon-now -e [line] [path/to/file]
copy


Open image in a browser instead of saving
$ carbon-now --open [path/to/file]
copy

Copied to clipboard