3 ms·
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 fro
by saagarjha 7y ago
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.
- viiralvx 7y agoYeah, I've found myself using Carbon for sharing code in my tweets, really it's the only time I use it.
- nickjj 7y agoIt's already pretty easy to do this without Carbon -- at least on Windows. 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.
- eugene-s 7y agoCommand+Shift+4 on mac. And on Ubuntu there was something too, but I’ve forgotten the combo
- itsrajju 7y agoShift+PrintScreen. It freezes the screen and lets you draw a rectangle over the area you want to capture.
- nickjj 7y ago> It freezes the screen and lets you draw a rectangle over the area you want to capture. 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.