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

Using tags within Treehouse forums

Hi --

I recently posed a question that had tags in it, because I was trying to show different lines of code and ask why one might be better than another. But the tags (which in this care were HTML q tags and p tags) simply disappeared when I viewed my question in the forum.

Is there something I need to do so my text appears exactly as I type it (including the html tags being displayed)?

Thanks.

3 Answers

Below the Reply box is a line of text with a link that says "markdown cheatsheet", in there, it says Code Indent your sentence with 4 spaces (or a single tab) to turn it into a code block.

So if I indent

<p>I can put my p tags in here</p>
<q>As well as my q tags, or any other type of code</q>

Thanks Kevin and Chase. For some reason, when I tried indenting with four spaces it wasn't working and when I tabbed it just tabbed into the next field, but maybe it was a browser issue (Chrome for Mac)? Anyhow, I'll try again next post and hopefully it will work.