Live data from Hacker News

Carbon – Create and share images of your source code

carbon.now.sh

1–10 of 40 posts

Re: Carbon – Create and share images of your source code

#2
Aside: if you're using this on a platform where it's easy to actually share the code itself, please don't use this. It might look pretty, but you can't copy from it easily. Plus it's inaccessible unless you've jumped through the hoops to make it so, at which point you might as well just link to the code directly.

Re: Carbon – Create and share images of your source code

#3

Aside: if you're using this on a platform where it's easy to actually share the code itself, please don't use this. It might look pretty, but you can't copy from it easily. Plus it's inaccessible unless you've jumped through the hoops to make it so, at which point you might as well just link to the code directly.

Yeah, I've found myself using Carbon for sharing code in my tweets, really it's the only time I use it.

Re: Carbon – Create and share images of your source code

#4
I love the appearance of it, but there are very few cases where sharing un-copyable blocks of code is actually what you want.

Let's say you're making a programming tutorial, or you're publishing an open source library and want to provide a website with code examples. Appearance is important, of course, but your audience will want to copy/paste your examples.

I feel like this should be a CSS generator for styling the or

 tag. If you really want to have a built-in screenshot exporter as well, I suppose that's fine too!

Re: Carbon – Create and share images of your source code

#5
post #4

I love the appearance of it, but there are very few cases where sharing un-copyable blocks of code is actually what you want. Let's say you're making a programming tutorial, or you're publishing an open source library and want to provide a website with code examples. Appearance is important, of course, but your audience will want to copy/paste your examples. I feel like this should be a CSS generator for styling the…

I use it for presentations and have found it incredibly useful for that.

Re: Carbon – Create and share images of your source code

#6
post #4

I love the appearance of it, but there are very few cases where sharing un-copyable blocks of code is actually what you want. Let's say you're making a programming tutorial, or you're publishing an open source library and want to provide a website with code examples. Appearance is important, of course, but your audience will want to copy/paste your examples. I feel like this should be a CSS generator for styling the…

It's _really_ good for Twitter posts. Formatting is non-existent, so sharing an image is unfortunately the best way to do it in-feed. Links to Gists, etc are the best if you don't mind leaving Twitter for sure. That said, if images are a necessity, might as well make it look good with Carbon.

Re: Carbon – Create and share images of your source code

#7
post #4

I love the appearance of it, but there are very few cases where sharing un-copyable blocks of code is actually what you want. Let's say you're making a programming tutorial, or you're publishing an open source library and want to provide a website with code examples. Appearance is important, of course, but your audience will want to copy/paste your examples. I feel like this should be a CSS generator for styling the…

How do you share code snippets on Twitter?
Post reply on HN