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

Sigurjon Johannesson
5,453 Pointstrouble putting codes in answer in Community
Hello,
I can't seem to put codes in answer with out them disappearing when I submit. Also I see people put pictures of codes to help others.
My question... How do I put codes and pictures of codes without them disappearing?
//example
//jason was here
4 Answers

Shaun Earley
20,412 PointsClick the link below the "Add an Answer" box that says Markdown Cheatsheet. This will example how you add code blocks to the Community form.

Falk Schwiefert
8,706 PointsIf you don't want to look through the whole markdown sheet, start your code with
'```' then next line code code code
'```' in the last line after all the code

Konrad Pilch
2,435 PointsYou mean this?
```javascript
var code = "Im coding"; // I don't do JS, so this code might be wrong.
```
This would output:
var code = "Im coding";
// I don't do JS, so this code might be wrong.

jason chan
31,009 Pointsthe button next to the 1 on your left. tap it 3 times to open and close it tap it 3 times.

Sigurjon Johannesson
5,453 Points <html></html>
<body></body>