import Page from '../components/Page' import Meta from '../components/Meta' import Header from '../components/Header' import Footer from '../components/Footer' import { COLORS } from '../lib/constants' export default () => (

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?

Import

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

Customization

Once you've got all of your code into Carbon, you can customize your image by changing the syntax theme, background color, window theme, or padding.

Export/Sharing

After you've customized your image you can Tweet a link to the image, or save it directly.

I want to make this better.

Please do.

)