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!
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

Jeremy Lindstrom
6,646 Pointshow do you put codeblock into the forum post? I didn't see it in the markdown cheatsheet.
I have seen to add code put it with the 3 ticks but looking at the cheatsheet nor the actual document shows how to add the different color codeblock.
Do you just do the 3 ticks at the front and back?
3 Answers

Andreas cormack
Python Web Development Techdegree Graduate 33,011 Pointsyes just add the three ticks to the front and the end and just add what code it is
for example
<head>
<title>
This is a test
</title>
</head>```

Jeremy Lindstrom
6,646 PointsYeah, I figured it out, i was trying it earlier and didn't work.. but got it now.
like this?
var x = "Hello world!";
console.log(x);