From 87780d9612670041721dee58dc0a9d53dde3f1d6 Mon Sep 17 00:00:00 2001 From: charitarthchugh <37895518+charitarthchugh@users.noreply.github.com> Date: Sat, 5 Sep 2020 07:40:30 -0400 Subject: [PATCH] carbon-now : add page (#4313) --- pages/common/carbon-now.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/carbon-now.md diff --git a/pages/common/carbon-now.md b/pages/common/carbon-now.md new file mode 100644 index 000000000..72ecd4540 --- /dev/null +++ b/pages/common/carbon-now.md @@ -0,0 +1,36 @@ +# carbon-now + +> Create beautiful images of code. +> More at . + +- Create an image from a file using default settings: + +`carbon-now {{file}}` + +- Create an image from a text in clipboard using default settings: + +`carbon-now --from-clipboard` + +- Create an image from standard input using default settings: + +`{{input}} | carbon-now` + +- Create images interactively for custom settings and optionally save a preset: + +`carbon-now -i {{file}}` + +- Create images from previosly saved preset: + +`carbon-now -p {{preset}} {{file}}` + +- Start at a specified line of text: + +`carbon-now -s {{line}} {{file}}` + +- End at a specific line of text: + +`carbon-now -e {{line}} {{file}}` + +- Open image in a browser instead of saving: + +`carbon-now --open {{file}}`