Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Rik Johnson
393 PointsFastest, easiest, sharpest looking "screen shot" for Forums.
I am wondering how other people post (screen) shots of their code in the forums?
I did ALT+PrtSc (ALT because I am using multiple displays and just want the ONE display where the code is), then cropped the photo, then uploaded it to photobucket, and then finished with a minor wrestling match against Markdown before/during posting the image.
The post with the image of my code came out clean, but it wasn't exactly easy/fast.
Is there an easier/quicker way to do this?
5 Answers
Phillip 25A
4,963 PointsI use the Snipping Tool that comes with Windows 7. It allows cropping before you save\copy the image onto your clipboard.
If you have Windows 7 just type "Snipping Tool" after clicking the Start button
Stef Serafin
967 PointsYou mean using the back tick or using a url?
Rik Johnson
393 PointsUsing a url/[img] - I tried the Markdown backtick and it removed the extra spaces & line-breaks out of my code so it was all on one line, which makes it look compiled/hard to read.
Jeff Busch
19,287 PointsHi Rik,
If you copy and paste your code it is Fastest, easiest, sharpest looking as you can get. Try it again, it's really simple.
If you look to the bottom right of the text box you will see something that says Markdown Cheetsheet. Also, there is a post here titled: Posting Code to the Forum by Dave McFarland. If you don't understand that maybe this will make sense: How to display code at Treehouse.
Jeff
Rik Johnson
393 PointsI have poured over that Markdown Cheetsheet (yesterday & today) and figured out I was using the wrong character for the 3 backticks, but when I used the backticks it just removed all of the line breaks and put the code on one line, which is hard to read w/o indentations, etc. I'll experiment later when I have a chance and see if I can't make it look more readable using the markdown method.
James Barnett
39,199 PointsHow to upload a screenshot using Windows 7
- Start the Windows 7's Snipping Tool from the Start Menu
- Take your screenshot (I like to use the rectangle snip)
- Click
Copyin the Snipping tool - Go to http://imgur.com --> Click on
Web-->ctrl+vto paste the screenshot you copied in step 3 - Click
Start Upload - Click the "copy" button next to the markdown link that imgur gives you
- Paste the link into the forum adding a
!in front of it, your link should look like this

Rik Johnson
393 PointsThanks James. I haven't had a chance to play around w/the Snipping Tool yet, but I'll be sure to reference this when I get a chance! Thanks again.
Rik Johnson
393 PointsRik Johnson
393 PointsThanks, Phillip! I'll try that!