Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.