Development Tools Markdown Basics Lists, Code, Links and Images Lists

Gabriel Fuertes
Gabriel Fuertes
2,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.

Which produces

  1. Item 1.
  2. Item 2.
  3. It's not mandatory, but advisable to keep the list in order.

  4. To nest

    1. You can indent with at least 3 spaces.

In this post it even looks weirder than on preview.

1 Answer

Andre Guerra
Andre Guerra
2,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.

Cheers! \o/