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 trialNick Nish
7,304 PointsCorrect Markdown syntax for Ordered List & Suggestions
Hey guys,
I can't figure out what the correct Markdown syntax for ordered lists are. Often times when I try, it will collapse and instead of being in nice rows, it will all be one single, paragraph.
Edit: Nevermind, in making this post, I learned the correct syntax:
- Make sure you have [Return] twice to start a new paragraph
- Make sure you have a [space] in between the number and list item
Also, I'm really liking Treehouse's new features. Forums enabled by what badges you've earned is really interesting. Other suggestions:
- Make workspaces shareable (I know you guys are working on it ;) Markdown is incredibly helpful in the forums, but sometimes sharing all of a project's code (especially to lint small details like missing semicolons) can be pretty tedious.
- Preview a way to see what your post will look like before it is published. I edited the same post 4-5 times to try to get the ordered list to work, and in between I had to add backticks to differentiate text all over again.
- A way to go directly to the challenge that someone might be referring to. To help someone in the forums for a specific question, he forgot to mention what exactly the question was asking. It took me 3-4 minutes to go find the exact problem they needed to solve (Library>HTML>CMD+F>Solve a few challenges), but it was still faster than asking and waiting for a response.
Thanks guys! Let me know if I can help by giving more feedback or with general questions.
4 Answers
Dustin Matlock
33,856 PointsI'd tried ordered lists in an earlier post and could not get it to work.
My post:
Outputted to:
Not sure what I'm doing wrong in that but I'd agree with some of your other suggestions. Thanks for posting this.
James Barnett
39,199 PointsThose are all great ideas, while Treehouse is working on these here are some things we can do on the forum to help each other out.
- For 1, use http://codepen.io or http://c9.io
- For 2, use http://dillinger.io/
- For 3, check out the content tags feature
Nick Nish
7,304 PointsThanks James Barnett, I already actively use CodePen and I bookmarked dillinger.io.
To clear up #3:
Content tags are great for referring to other questions posted about the same video but there isn't a way to go directly to the challenge or video they're referring to. Let me illustrate an example:
You want to help someone who is struggling with a code challenge. They didn't explain their question well, but you don't want to ask for them to explain more clearly and wait. You know they're inside a
CSS
course and that their particular challenge refers to the Adaptive Layouts with Media Queries. How do we find out exactly what they need to solve and they code they need?We see a button below the question with the familiar Play button so we click on it thinking it will take us to the video/challenge, but it takes us back to the forum and adds a filter. It's logical to think that because the content tag button looks like the video button, it will cause the same behavior. Look below.
-
Despite this setback, we decide to find it ourselves. We click Library.
- First we try searching on the right, "Adaptive Layouts". No go, so we click on the CSS filter.
- Then we guess, trying to find the right course. Each one opening up the panes so we can search within them, using CMD+F.
- Finally, we find the exact challenge we were looking for. We have our answer!
Navigate back, and answer the question.
Sorry for how long this was – I really want to illustrate how difficult this process can be, and how confusing a simple UI element like that play button can be. Let me know if I'm being extraordinarily nitpicky (after all I spent a good 15 minutes on this).
Dustin Matlock
33,856 PointsI agree — the tags do seem to give the idea that you may be taken to a video or challenge. There is however something that is correct most times.
Nick Nish
7,304 PointsNot sure what's going on with the Markdown editor, but take a look at this screenshot of [dillinger.io(http://www.dillinger.io).
James Barnett
39,199 Points>
Not sure what's going on with the Markdown editor, but take a look at this screenshot
Looks fine to me, can you be more specific. Maybe annotate your screenshot.
Nick Nish
7,304 PointsJames Barnett the outputs are starkly different. It's a little tough to see because the second screen is so large, but the same Markdown was an Ordered list in Dillinger.io and an Unordered list in Treehouse, giving my original concern validity.
Dustin Matlock
33,856 PointsThat's most likely the bug we were talking about earlier. I have a support request open, so if anyone is interested I can provide an update on that. In addition to the ordered list issue, I'm also having trouble getting breakpoints to work, say, between headings.
It'd also be nice to see block/quoted material have some sort of styling.
Dustin Matlock
33,856 PointsDave McFarland wrote Posting Code to the Forum. Maybe he could chime in on how to get it working.
Nick Nish
7,304 PointsNick Nish
7,304 PointsHey Dustin Matlock I think the [return] space between each order item screwed up the output. Testing this now:
First with spaces.
Lots of
Space! ^^
And now..
Nick Nish
7,304 PointsNick Nish
7,304 PointsThis is what I posted, the output is above. Made me look like a fool!
Dustin Matlock
33,856 PointsDustin Matlock
33,856 PointsI don't understand it either but you obviously did it before. I have a support request for this. Maybe there's something missing or possibly a bug we don't know about.