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 trialDina Samir
1,991 PointsAdding my code screenshot to my question
Can someone help me add my code screenshot to my question?
I uploaded it on Imgur and pasted the lined but it didn't work out.
1 Answer
Megan Amendola
Treehouse TeacherHi, Dina!
To post a code snippet or block you need to use backticks (```). At the bottom of this page where the 'Add an Answer' box is there is a note 'Reference this Markdown Cheatsheet for syntax examples for formatting your post.'. If you click on the markdown cheatsheet, you will see how to use markdown. There's also a markdown basics course.
A code snippet starts and ends with one backtick (`) like this:
let color = 'red'
A code block starts and ends with triple backticks (```) like this:
def my_func():
pass
Dina Samir
1,991 PointsDina Samir
1,991 PointsThanks a million, Megan! It finally worked.