Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Gabriel Fuertes2,413 Points
I 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.
- Item 1.
- Item 2.
It's not mandatory, but advisable to keep the list in order.
- You can indent with at least 3 spaces.
In this post it even looks weirder than on preview.
Andre Guerra2,799 Points
Same 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.