Browse Source

carbon-now : add page (#4313)

charitarthchugh 4 years ago
parent
commit
87780d9612
1 changed files with 36 additions and 0 deletions
  1. 36 0
      pages/common/carbon-now.md

+ 36 - 0
pages/common/carbon-now.md

@@ -0,0 +1,36 @@
+# carbon-now
+
+> Create beautiful images of code.
+> More at <https://github.com/mixn/carbon-now-cli>.
+
+- 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}}`