What does this do?
You know all of those code screenshots you see on Twitter? Although the code's usually impressive, we saw room for improvement in the aesthetic department. Carbon is the easiest way to create beautiful images of your source code. So what are you waiting for? Go impress all of your followers with your newfound design prowess. 🎨
How do I use it?
There are a few different ways to import code into Carbon:
- Drop a file into the editor
- Append a GitHub gist id to the url (example)
- Paste your code directly
Once you've got all of your code into Carbon, you can customize your image by changing the syntax theme, background color/image, window theme, or padding.
You can even drop an image file onto the editor to set the background to that image. Give it a try!
After you've customized your image you can Tweet a link to the image, or save it directly.