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.
Aimee Ault29,193 Points
New forum feature available: Attach Your Code from Code Challenges
We've rolled out a new feature today that we hope you'll find useful!
As of today, when you are working on a code challenge and have questions related to that code challenge, using the "Ask a Question" feature to post to the forum from that page will allow you to attach your code automatically to your post. This means no having to copy and paste and no worrying about getting Markdown formatting wrong :)
All you need to do is make sure the checkbox for "Attach my code to this post" is checked and we'll have you covered!
You can preview your post using the Preview button before posting to see what the post will look like with your attached code in place, in case you're curious.
Each file from the code challenge will be labeled with its file name to give other students context and to simplify any troubleshooting and debugging.
Still want to make modifications to your code? No worries! You can still edit your post, where the code (and its properly formatted Markdown) will be at your fingertips to alter if you should need to do so.
This is so great! It will certainly make posting code a lot easier for people who aren't familiar with how to do it with markdown!
Great job Treehouse Team keep up the good work!
That's awesome, but i'll also like the question to be added with the code. Sometimes it is hard to locate what is the question especially when the labels are misplaced.
Caleb KleveterTreehouse Moderator 37,862 Points
Hey Aimee, can the preview be added in there so that people have a better idea at whats wrong with the code? Thanks!