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
Ronnelle Torres
5,958 PointsHOW TO CREATE A SCREENSHOT OF MY CODE THAT CAN EASILY BE POSTED ON QUESTIONS ?
HOW TO CREATE A SCREENSHOT OF MY CODE THAT CAN EASILY BE POSTED ON QUESTIONS ? The screenshot with a dark background thing. please advise! Thanks! :)
6 Answers
anil rahman
7,786 Pointsyou take your code as in copy and paste it and surround it with these (3 single quotes at top and bottom):
//make sure to put a empty line here //put 3 single quotes here //Your code here //put 3 single quotes here
To let it know which language you are writing in you put the name after the first 3 single quotes:
//make sure to put a empty line here //put 3 single quotes here and then type java right after //Your code here //put 3 single quotes here
Ronnelle Torres
5,958 Points''' //boom '''
Ronnelle Torres
5,958 Points''' //boom
'''
anil rahman
7,786 PointsAlso use the markdown cheatsheet link at the bottom of this page, above the post answer button, tells you how to do it
anil rahman
7,786 Pointssorry i meant backwards single quotes that key thats near the 1 on your keyboard
Ronnelle Torres
5,958 PointsTHANKS! THAT WORKED! :D
Ronnelle Torres
5,958 Pointsvar random = randomNumber(10);
Caleb Kleveter
Treehouse Moderator 37,862 PointsCaleb Kleveter
Treehouse Moderator 37,862 PointsIs this workspaces or an editor that you have installed on your machine?