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
Patrick Lannan
4,792 PointsPosting Code
I have a question about some code I wrote today and I want to ask about it, but I can't seem to figure out how to post my code in python format (as it would look in a python file). Anyone have tips on what I'm missing? I see others post in this format on nearly every thread.
1 Answer
Chris Freeman
Treehouse Moderator 68,468 PointsLeft of the 1️⃣ key is the backtick `
Placing a blank line and the following line above your code:
```python
and the following line below your code:
```
followed by another blank line will provide highlighting. So, this:
```python
print(“Hello World”)
```
Turns into this:
print(“Hello World”)
When you creat a post, there is a “Markdown Cheatsheet” link displayed below the edit window. The link will popup additional formatting help.
Post back if you need more help. Good luck!!!