Carbon – Create and share images of your source code
carbon.now.sh
carbon.now.sh
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 <code> or <pre> tag. If you really want to have a built-in screenshot exporter as well, I suppose that's fine too!
1. Hit print screen on your keyboard
2. Select the rectangle area that you want to capture
3. Paste it into a tweet
You don't even need an intermediate image on your computer unless you wanted to crop it before sending it to Twitter.
You may also want to consider a step 0 which is to temporarily bump up the font size in your editor to make it more readable in a tweet.
This is what Windows 10 does when you hit print screen on its own (as of a recent'ish update).
Then there's also:
alt + print screen to automatically capture the focused window.
And ctrl + print screen to capture all monitors instead of the focused window.
Pandoc is usually associated with Latex, but in reality its scope is really broad. I have been using it to convert markdown to slides for a while and it works quite well (Plus you get good syntax highlighting through pygments).
Ref: https://pandoc.org/MANUAL.html#producing-slide-shows-with-pa...
In the example code snippet from their site more than half of the vertical space is taken up by unnecessary details added by Carbon (huge shadows, the window icons, borders and white space). Why would you want to waste half of your image on non-code elements when the goal is to share code?
Writing a Tweet, adding code that gets displayed as an image plus a link to some text-representation of that code-image.
My first thought was in READMEs, just to be flashy. My thoughts were that any code made fancy in image form could also be found elsewhere, I don't think (brash assumption on my part) that this was meant to be the only way code is presented.
For something like twitter or whatever to be flashy though? Very cool. I dig it.
@carbon_app -- bro, you're not an app! You're barely more than some JS on a page.
"Carbon is used by thousands of developers daily, including experts at..." -- 99% sure this is a lie. "Puffery" if we want to be charitable
"carbon" -- for chrissake "carbon" has like 50 meanings in computing. Name collide much? Did the author even bother to care?
"Beautiful" -- stop using this word. Nobody in computing seems to know what it means and we've cheapened its meaning to whatever stupid colorful, excessive-whitespace, overly-padded pile of crap that floats our way. Formatting that impresses snobby, wannabe graphic designers and clueless executives is not "beautiful", it is "trendy" or "contemporary" at best