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

General Discussion

How to post a picture?

can someone explain how to post a picture to a question/answer? looked at the markdown cheat sheet and i don't understand at all

3 Answers

I'm guessing you want to create a picture of your code? If so, what you want falls under the Code item. So you type three backticks (same key that makes ~), then what language you are writing in (e.g., ```python), then write out your code (e.g. print("Hello, World!")), then close it back out with three more tickmarks. When you put it all together, it looks like:

print("Hello, World!")
Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,254 Points

Hi there,

If you want to post an image to the forum you'll need to host one on a web server. There are plenty of websites out there that will do this for you.

You can then use markdown to provide a path to the image and the forum will show it for you. Here's an example of the syntax from markdown. :)

![alt text](/path/to/img.jpg "Title")

ahrite, so 'path/to/image' isn't the path to the file on your hard drive.

so the path is just the web address? and what is the [alt text] and "Title" bits for?