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 trialGabriel Fuertes
2,413 PointsI can't get Markdown lists to be separated. Am I not supposed to just double enter?
In this video, at 2:50, one list is wrongly associated with another. To prevent that, the teacher hits return twice to indicate they are different things. But when I do that, I can't get it to work as intended. Here there is my snippet:
1. Item 1.
2. Item 2.
3. It's not mandatory, but advisable to keep the list in order.
1. To nest
1. You can indent with at least 3 spaces.
Which produces
- Item 1.
- Item 2.
It's not mandatory, but advisable to keep the list in order.
-
To nest
- You can indent with at least 3 spaces.
In this post it even looks weirder than on preview.
1 Answer
Andre Guerra
2,799 PointsSame thing happened for me. I did manage to create 2 sequential separate lists by adding a Horizontal Rule or another Paragraph between them. I suppose it is uncommon in the real world scenario to have to two different lists without any explanation between them. Still something that doesn't check. Tried in VSCode in using Python's grip library for viewing:
$ pip3 install grip
$ grip sample.md
Grip's temp server changed my nested list from numbers (1, 2, 3) to i, ii, iii, but I suppose different MD interpreters handle things in slightly different ways.
Cheers! \o/