[![All Contributors](https://img.shields.io/badge/all_contributors-42-orange.svg?style=flat-square)](#contributors) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com) [![MIT License](https://img.shields.io/github/license/dawnlabs/carbon.svg)](https://github.com/dawnlabs/carbon/blob/master/LICENSE) [![Greenkeeper badge](https://badges.greenkeeper.io/dawnlabs/carbon.svg)](https://greenkeeper.io/) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/carbon-now)

[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/dawnlabs/carbon&env=TWITTER_CONSUMER_KEY&env=TWITTER_CONSUMER_SECRET&env=TWITTER_ACCESS_TOKEN_KEY&env=TWITTER_ACCESS_TOKEN_SECRET&env=LOGS_SECRET_PREFIX) ## Introdução Sabe [todos](https://twitter.com/dan_abramov/status/890191815567175680) [aqueles](https://twitter.com/reactjs/status/890511993261654017) [prints](https://twitter.com/notquiteleo/status/873483329345028096) [de código](https://twitter.com/zeithq/status/805779711154647040) que você vê no Twitter? Apesar do código geralmente ser impressionante, nós vimos que a parte estética podia ser melhorada. Carbon facilita bastante criar e compartilhar imagens muito boas do seu código fonte. Então o que você está esperando? Vai lá impressionar todos os seus seguidores com esse design foda que você conseguiu aqui! Visite [carbon.now.sh](https://carbon.now.sh) ou leia [nosso post (em inglês)](https://dawnlabs.io/case-studies/carbon/) para aprender mais sobre o nosso projeto. ## Funcionalidades - **Importar de um gist do GitHub**. É só colocar o id de um gist do GitHub no fim da url; - **Customização**. Personalize coisas como o tema usado no editor de acordo com a sintaxe da linguagem, o estilo de janela e mais; - **Compartilhe rapidamente**. Salve sua imagem ou tweet o link com a imagem em um clique. ## Exemplo

## Uso #### Importar Existem alguns jeitos diferentes de importar código fonte para o Carbon: - Arraste um arquivo para o editor; - Cole o id de um gist do GitHub no fim da url (e.g. `carbon.now.sh/ID_DO_GIST_AQUI`); - Copie e cole o trecho de código diretamente no editor. #### Customização Assim que você colocar o trecho de código no editor do Carbon, você pode personalizar a imagem mudando o tema e sintaxe, cor de fundo, tema da janela, e o espaçamento entre a imagem do editor e as bordas. #### Exportar/Compartilhar Depois que você customizar a sua imagem, você pode tweetar um link para a imagem ou salvá-la diretamente. ## Comunidade Confira os projetos top da nossa comunidade: ##### Plugins para editores de texto - [IntelliJ IDEA `carbon-now-sh`](https://plugins.jetbrains.com/plugin/10469-carbon-now-sh) - Selecione o trecho de código aberto no seu IntelliJ IDEA e o use o botão direito para abrir o menu de opções onde você pode acionar o Carbon; - [Atom `carbon-now-sh`](https://atom.io/packages/carbon-now-sh) - Abra o arquivo atual do seu Atom no Carbon com o comando `shift-cmd-A`; - [VS Code `carbon-now-sh`](https://marketplace.visualstudio.com/items?itemName=ericadamski.carbon-now-sh) - Abra seu arquivo do VS Code no Carbon usando o comando `carbon`; - [Sublime Text 3 `carbon-now-sh`](https://github.com/molnarmark/carbonSublime) - Selecione o trecho de código aberto no seu Sublime Text 3 com um atalho de teclado customizado; - [Vim `carbon-now-sh`](https://github.com/kristijanhusak/vim-carbon-now-sh) - Selecione o trecho de código aberto no seu Vim/Neovim usando a função `CarbonNowSh()`; - [Emacs `carbon-now-sh`](https://github.com/veelenga/carbon-now-sh.el) - Selecione o trecho de código aberto no seu Emacs usando a função interativa `carbon-now-sh`. ##### CLIs - [CLI `carbon-now-cli`](https://github.com/mixn/carbon-now-cli) - Abra um arquivo no Carbon ou faça download da imagem diretamente com `carbon-now`, apresentando um modo interativo, seleção destacada e muito mais. ##### Bibliotecas - [R `carbonate`](https://yonicd.github.io/carbonate/) - Manipule iterativamente a estética da imagem em `R` e abra no Carbon ou faça download diretamente. ##### Livros Didáticos - ["CS 101 - An Introduction to Computational Thinking"](https://itunes.apple.com/us/book/id1435714196) - um livro didático de ciência da computação escrito por Sarbo Roy. ## Contribua PRs são bem vindos! Por favor leia nosso [CONTRIBUTING.md](https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md) para mais detalhes. ## Agradecimentos [ ▲ ZEIT ](https://zeit.co/) por patrocinar a hospedagem do Carbon. ## Autores Carbon é um projeto feito pela - Mike Fix ([@mfix22](https://github.com/mfix22)) - Brian Dennis ([@briandennis](https://github.com/briandennis)) - Jake Dexheimer ([@jakedex](https://github.com/jakedex)) ## Contribuidores Agradecemos imensamente a todas essas pessoas maravilhosas pela grande ajuda ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): | [briandennis
briandennis](https://github.com/briandennis)
[💻](https://github.com/dawnlabs/carbon/commits?author=briandennis "Code") [📖](https://github.com/dawnlabs/carbon/commits?author=briandennis "Documentation") [🚇](#infra-briandennis "Infrastructure (Hosting, Build-Tools, etc)") [👀](#review-briandennis "Reviewed Pull Requests") | [mfix22
mfix22](https://github.com/mfix22)
[💬](#question-mfix22 "Answering Questions") [💻](https://github.com/dawnlabs/carbon/commits?author=mfix22 "Code") [🤔](#ideas-mfix22 "Ideas, Planning, & Feedback") | [jakedex
jakedex](https://github.com/jakedex)
[💬](#question-jakedex "Answering Questions") [💻](https://github.com/dawnlabs/carbon/commits?author=jakedex "Code") [🎨](#design-jakedex "Design") [📹](#video-jakedex "Videos") | [andrewda
andrewda](https://github.com/andrewda)
[💬](#question-andrewda "Answering Questions") [💻](https://github.com/dawnlabs/carbon/commits?author=andrewda "Code") [🐛](https://github.com/dawnlabs/carbon/issues?q=author%3Aandrewda "Bug reports") [👀](#review-andrewda "Reviewed Pull Requests") | [yeskunall
yeskunall](https://github.com/yeskunall)
[💻](https://github.com/dawnlabs/carbon/commits?author=yeskunall "Code") [📖](https://github.com/dawnlabs/carbon/commits?author=yeskunall "Documentation") [🔧](#tool-yeskunall "Tools") [🐛](https://github.com/dawnlabs/carbon/issues?q=author%3Ayeskunall "Bug reports") | [stoshfabricius
stoshfabricius](https://github.com/stoshfabricius)
[💻](https://github.com/dawnlabs/carbon/commits?author=stoshfabricius "Code") | [jkling38
jkling38](https://github.com/jkling38)
[📖](https://github.com/dawnlabs/carbon/commits?author=jkling38 "Documentation") | | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | [otobrglez
otobrglez](https://github.com/otobrglez)
[💻](https://github.com/dawnlabs/carbon/commits?author=otobrglez "Code") | [darahak
darahak](https://github.com/darahak)
[📖](https://github.com/dawnlabs/carbon/commits?author=darahak "Documentation") | [dom96
dom96](https://github.com/dom96)
[💻](https://github.com/dawnlabs/carbon/commits?author=dom96 "Code") | [elrumordelaluz
elrumordelaluz](https://github.com/elrumordelaluz)
[💻](https://github.com/dawnlabs/carbon/commits?author=elrumordelaluz "Code") | [cjb
cjb](https://github.com/cjb)
[💻](https://github.com/dawnlabs/carbon/commits?author=cjb "Code") | [Krzysztof-Cieslak
Krzysztof-Cieslak](https://github.com/Krzysztof-Cieslak)
[💻](https://github.com/dawnlabs/carbon/commits?author=Krzysztof-Cieslak "Code") | [fernahh
fernahh](https://github.com/fernahh)
[📖](https://github.com/dawnlabs/carbon/commits?author=fernahh "Documentation") | | [g3r4n
g3r4n](https://github.com/g3r4n)
[💻](https://github.com/dawnlabs/carbon/commits?author=g3r4n "Code") | [Mat Gadd
Mat Gadd](http://drarok.com/)
[🐛](https://github.com/dawnlabs/carbon/issues?q=author%3ADrarok "Bug reports") [💻](https://github.com/dawnlabs/carbon/commits?author=Drarok "Code") | [Brad Davies
Brad Davies](https://bradlab.co.uk)
[🐛](https://github.com/dawnlabs/carbon/issues?q=author%3Avarbrad "Bug reports") [💻](https://github.com/dawnlabs/carbon/commits?author=varbrad "Code") | [Rafael Câmara
Rafael Câmara](http://www.rafaelcamaram.com/)
[💻](https://github.com/dawnlabs/carbon/commits?author=rafaelcamaram "Code") | [Gleb Bahmutov
Gleb Bahmutov](https://glebbahmutov.com/)
[⚠️](https://github.com/dawnlabs/carbon/commits?author=bahmutov "Tests") [🔧](#tool-bahmutov "Tools") | [Iván Munguía
Iván Munguía](https://ivan-munguia.netlify.com)
[💻](https://github.com/dawnlabs/carbon/commits?author=warborn "Code") | [Dillon Mulroy
Dillon Mulroy](https://dillonmulroy.com)
[💻](https://github.com/dawnlabs/carbon/commits?author=dmmulroy "Code") | | [Nihad Abbasov
Nihad Abbasov](https://github.com/NARKOZ)
[💻](https://github.com/dawnlabs/carbon/commits?author=NARKOZ "Code") | [Hugo Torzuoli
Hugo Torzuoli](https://torzuolih.github.io)
[📖](https://github.com/dawnlabs/carbon/commits?author=TorzuoliH "Documentation") | [Bruno C. Couto
Bruno C. Couto](https://github.com/imbrn)
[💻](https://github.com/dawnlabs/carbon/commits?author=imbrn "Code") | [Mark Molnar
Mark Molnar](https://github.com/molnarmark)
[💻](https://github.com/dawnlabs/carbon/commits?author=molnarmark "Code") | [Takahiko Inayama
Takahiko Inayama](https://www.behance.net/tetra2000)
[💻](https://github.com/dawnlabs/carbon/commits?author=TETRA2000 "Code") | [François Martin
François Martin](https://github.com/martinfrancois)
[💻](https://github.com/dawnlabs/carbon/commits?author=martinfrancois "Code") | [Raphael Amorim
Raphael Amorim](http://raphamorim.io)
[💻](https://github.com/dawnlabs/carbon/commits?author=raphamorim "Code") | | [Camron Flanders
Camron Flanders](http://camronflanders.com)
[💻](https://github.com/dawnlabs/carbon/commits?author=camflan "Code") | [Eric Adamski
Eric Adamski](https://ericadamski.github.com)
[💻](https://github.com/dawnlabs/carbon/commits?author=ericadamski "Code") | [Winner Crespo
Winner Crespo](http://winnercrespo.com)
[💻](https://github.com/dawnlabs/carbon/commits?author=wistcc "Code") [🎨](#design-wistcc "Design") | [Milos
Milos](http://twitter.com/mixn)
[💻](https://github.com/dawnlabs/carbon/commits?author=mixn "Code") [🔧](#tool-mixn "Tools") [📖](https://github.com/dawnlabs/carbon/commits?author=mixn "Documentation") [🌍](#translation-mixn "Translation") | [Yashu Mittal
Yashu Mittal](https://mittalyashu.now.sh/)
[💻](https://github.com/dawnlabs/carbon/commits?author=mittalyashu "Code") | [Rachel M. Carmena
Rachel M. Carmena](https://twitter.com/bberrycarmen)
[📖](https://github.com/dawnlabs/carbon/commits?author=rachelcarmena "Documentation") | [Miguel Salazar
Miguel Salazar](https://www.linkedin.com/in/miguel-salazar-823b07a1/)
[📖](https://github.com/dawnlabs/carbon/commits?author=ucdstudent95618 "Documentation") [🌍](#translation-ucdstudent95618 "Translation") | | [Vyom Jain
Vyom Jain](https://www.linkedin.com/in/vyom-jain-233a28139)
[📖](https://github.com/dawnlabs/carbon/commits?author=vvyomjjain "Documentation") [🌍](#translation-vvyomjjain "Translation") | [racaljk
racaljk](http://www.cnblogs.com/racaljk/)
[🌍](#translation-racaljk "Translation") | [Sean
Sean](https://lastblocklabs.com)
[💻](https://github.com/dawnlabs/carbon/commits?author=raboid "Code") | [Izabela Borges
Izabela Borges](http://izabelacborges.com/)
[🌍](#translation-izabelacborges "Translation") | [Shinil M S
Shinil M S](https://ghuser.io/shinilms)
[🌍](#translation-shinilms "Translation") | [Berke Atac
Berke Atac](https://github.com/berkeatac)
[🌍](#translation-berkeatac "Translation") | [LEE YONGJUN
LEE YONGJUN](https://wooooooak.github.io/)
[🌍](#translation-wooooooak "Translation") |