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

General Discussion

I can't seem to add my screen shot with my question, I am trying to drag and drop .. but then it just locks the screen

I copy and pasted my code from the text editor but it came out like a mess when I posted it with my question

1 Answer

Gabbie Metheny
Gabbie Metheny
33,778 Points

Have you checked out the Markdown Cheatsheet? It's amazingly helpful for formatting posts in the Treehouse forum.

If you just want to copy and paste the text from your text editor, you surround it with triple backticks (`), so this:

```
h1 {
color: tomato;
}
```

becomes this:

h1 {
  color: tomato;
}

For better syntax highlighting, you can also add the name of the language after the opening set of backticks, like this:

```JavaScript
function someFunction {
let something = somethingElse;
return something;
}
```

function someFunction {
  let something  = somethingElse;
  return something;
}

If you're using workspaces, you can also create a snapshot to share your workspace. This is better for bigger projects, or projects where you have no idea which part of your code is causing a bug. Nick Pettit explains how to do this here, starting at about the 01:30 mark.

To attach a screenshot, or any image, you format it like this:

![alt text](/path/to/img.jpg "Title")

But the image needs to be hosted somewhere other than your computer, like in a dropbox account. Then you use the url as the path.

Screenshot

Let me know if there's anything else I can clarify! ?