

Carbon – Create beautiful images of your source code
source link: https://www.tuicool.com/articles/hit/rAfE3iY
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Introduction
You know all of those code screenshots you see on Twitter? Though the code's usually impressive, we saw room for improvement in the aesthetic department. Carbon makes it easy to create and share beautiful images of your source code. So what are you waiting for? Go impress all of your followers with your newfound design prowess.
Visit carbon.now.sh or read our post to learn more about the project.
Features
- Import from GitHub gist . Simply append a GitHub gist id to the url
- Customization . Customize things like your image's syntax theme, window style, and more
- Share quickly . Save your image or Tweet a link with one click
Example
Usage
Import
There are a few different ways to import code into Carbon:
carbon.now.sh/GIST_ID_HERE
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 either Tweet a link to the image, or save it directly.
Community
Check out these projects our awesome community has created:
Editor Plugins
- IntelliJ IDEA
carbon-now-sh
- Open up the selection in your current IntelliJ IDEA file in Carbon through a context menu - Atom
carbon-now-sh
- Open up your current Atom file in Carbon withshift-cmd-A
- VS Code
carbon-now-sh
- Open up your current VS Code file in Carbon with commandcarbon
- Sublime Text 3
carbon-now-sh
- Open up the selection in your current Sublime Text 3 file with a custom bound key - Vim
carbon-now-sh
- Open up the selection in your current Vim/Neovim using functionCarbonNowSh()
- Emacs
carbon-now-sh
- Open up the selection in your current Emacs using interactive functioncarbon-now-sh
CLIs
- CLI
carbon-now-cli
- Open a file in Carbon or download it directly usingcarbon-now
, featuring an interactive mode, selective highlighting and more
Libraries
- R
carbonate
- Iteratively manipulate image aesthetics inR
and either open in Carbon or download directly.
Textbooks
- "CS 101 - An Introduction to Computational Thinking" - a computer science textbook by Sarbo Roy.
Contribute
PRs welcome! Please see our CONTRIBUTING.md for more details.
Thanks To
▲ ZEIT for sponsoring Carbon's hosting.
Authors
Carbon is a project by
- Mike Fix ( @mfix22 )
- Brian Dennis ( @briandennis )
- Jake Dexheimer ( @jakedex )
Contributors
Thanks goes out to all these wonderful people ( emoji key ):
:computer: :book: :computer: :computer: :computer: :bug: :computer: :book: :bug: :computer: :book:
:computer:

:book:

:computer:

:computer:

:computer:

:computer:

:book:

:computer:

:bug: :computer:

:bug: :computer:

:computer:

:warning:

:computer:

:computer:

:computer:

:book:

:computer:

:computer:

:computer:

:computer:

:computer:

:computer:

:computer:

:computer:

:computer:

:computer:

:book:
Recommend
-
212
Files Permalink Latest commit message Co...
-
57
readme.md ? Beautiful images...
-
35
README.md
-
12
This AI Makes Beautiful Videos From Your Images! ?61,897 views•Apr 20, 2021 ❤️ Check ou...
-
7
Create Beautiful WordPress Pages with Optimized Images Using Elementor and ImageEngineWordPress powers nearly 40% of all websites, thanks to its commitment to making publication possible for everyone, for free. Combined with premium plugins a...
-
2
Create and share beautiful images of your source code.Start typing or drop a file into the text area to get started.ThemeLanguageconst pluckDeep = key => obj => key.split...
-
9
Create beautiful code boards
-
10
Create beautiful images of your source code720 x 448const btn = document.getElementById('btn')let count = 0function render() { btn.innerText = `Count: ${count}`btn.addEventListener('cl...
-
7
Create beautiful images for your tweetsSort by: Hey makers, Making beautiful images for social sites sucks. Now it will not. You can beautify any boring image instantly in a few clicks. Customize the background,...
-
13
Support is great. Feedback is even better."Hello Codify users! I'm eager to hear your thoughts on the tool. How has your experience been so far? Any features you find particularly useful or areas that could use improvement? Your valu...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK