64

Carbon – Create beautiful images of your source code

 7 years ago
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.
neoserver,ios ssh client

RvQrmy7.png!web

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

u6NfQfq.png!web

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

CLIs

  • CLI carbon-now-cli - Open a file in Carbon or download it directly using carbon-now , featuring an interactive mode, selective highlighting and more

Libraries

  • R carbonate - Iteratively manipulate image aesthetics in R and either open in Carbon or download directly.

Textbooks

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 ry677zM.png!web

Contributors

Thanks goes out to all these wonderful people ( emoji key ):

2ARrEfb.jpg!webbriandennis

:computer: :book:

BzeyUvi.jpg!webmfix22

:computer:

ZfAvMji.jpg!webjakedex

:computer:

q2umAjJ.jpg!webandrewda

:computer: :bug:

nIR3iey.png!webyeskunall

:computer: :book: :bug:

yqMn2qZ.jpg!webstoshfabricius

:computer:

iQbm2ya.png!webjkling38

:book: vQFNBzf.jpg!webotobrglez
:computer: 3AZvauz.jpg!webdarahak
:book: VruUF32.jpg!webdom96
:computer: 2yIbyaf.jpg!webelrumordelaluz
:computer: aIv6NzJ.jpg!webcjb
:computer: QzmeQvn.png!webKrzysztof-Cieslak
:computer: yAR7bam.jpg!webfernahh
:book: r263a27.jpg!webg3r4n
:computer: vYvi6nm.jpg!webMat Gadd
:bug: :computer: yEzUJn2.png!webBrad Davies
:bug: :computer: FVZjEfF.jpg!webRafael Câmara
:computer: vINVfy6.jpg!webGleb Bahmutov
:warning: RZb2YjB.jpg!webIván Munguía
:computer: fQfAFnZ.png!webDillon Mulroy
:computer: m6rQFzV.png!webNihad Abbasov
:computer: jUBJRvb.png!webHugo Torzuoli
:book: 7fErm23.jpg!webBruno C. Couto
:computer: ayiAnqj.png!webMark Molnar
:computer: yuQRZri.jpg!webTakahiko Inayama
:computer: 6Rfe2ye.png!webFrançois Martin
:computer: R7NzYzr.jpg!webRaphael Amorim
:computer: BjiIN3V.jpg!webCamron Flanders
:computer: 7JBjain.jpg!webEric Adamski
:computer: F3MJfmZ.jpg!webWinner Crespo
:computer: FbIB73q.jpg!webMilos
:computer: raI3iy6.jpg!webYashu Mittal
:computer: ZBVNjiy.jpg!webRachel M. Carmena
:book:

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK