Carbon-now-cli
carbon-now-cli
carbon code images from CLI.
carbon-now-cli is a CLI interface for 🎨 Beautiful images of your code — from right inside your terminal!
It also porivdes the below functionality:
- 🖼 Downloads the real, high-quality image (no DOM screenshots)
- ✨ Detects file type automatically
- 🗂 Supports all file extensions supported by carbon.now.sh and more
- ⚡️ Interactive mode via
--interactive - 🎒 Presets : save and reuse your favorite settings
- 🖱 Selective highlighting
--startand--end - 📎 Copies image to clipboard via
--copy(cross-OS 😱) - 📚 Accepts file,
stdinor clipboard content as input. - 🐶 Displays image directly in supported terminals
- ⏱ Reports each step and therefore shortens the wait
- 👀 Saves to given location or only opens in browser for manual finish.
- 🌈 Supports saving as
.pngor.svg— just like Carbon - 📏 Supports
2x,4xor1xresolutions — just like Carbon - ✅ Tested
- ⛏ Maintained
Get it: npm i -g carbon-now-cli
Sample usage:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
GIF FTW
