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

General Discussion

Jeff Mathis
Jeff Mathis
3,935 Points

Posting Code

how do i post code in this box? it will not show up. Help please

6 Answers

Hi Jeff,

What type of code are you trying the paste? Have you watched the "Tips for asking questions" video or had a look at the "Markdown Cheatsheet" link, both of which are on this page ? What happens when you're trying .... does it show up at all or just completely disappear ?

Jeff Mathis
Jeff Mathis
3,935 Points

like how to post code right here in the discussion to show you my code that i am having trouble with

How are you trying to do it ?

Make sure that you are using ``` and not ''' before and after your code

For example

```html / on the line before your code

``` / on the line after your code.

If you go back to your forum post "How to input code into discussion?", a moderator answered your question there.