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

JavaScript

SeHyun Choi
SeHyun Choi
3,441 Points

How do I type code when asking question?

So when I ask question at either here at TeamTreeHouse or at GitHub etc when I copy my code from my notepad it looks all broken up. How do I copy and paste my code when asking coding question?

1 Answer

Steven Parker
Steven Parker
228,991 Points

You can preserve the appearance of your code by using Markdown formatting. Instructions can be found in the Markdown Cheatsheet pop-up below the "Add an Answer" area on each page. :arrow_heading_down:

Or for more detailed instructions, you can watch this video on code formatting.