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

Amit Dhamankar
Amit Dhamankar
4,163 Points

How to use "MarkDown CheatSheet"?

How to make a code more readable so that I can post it on Forum and get an answer quickly from all the community? Basically, I want to ask how to use "MarkDown CheatSheet"?

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! The link to the Markdown Cheatsheet is at the bottom of the "Add an Answer" section. But let's see if I can explain it. First start a line with three backticks and include a language if desired like html or java. Then add a new blank line. Insert your code after the new blank line. Then add a new blank line and then after that add three more backticks. Take a look:

```css

  h1 {
  color: blue;
}

Unfortunately, I cannot get the last line to display properly as it thinks it's part of the markdown. But there should be a blank line after the closed curly brace. And then on the next line three more backticks like is shown in the top line. Hope this helps! :sparkles:

Amit Dhamankar
Amit Dhamankar
4,163 Points

Thank you once again Jennifer