Markdown nested list: skip a level

Viewed 340

I'm using nested bulleted lists in Markdown. In certain cases, the level must jump from depth 1 to depth 3, as below: HTML-generated nested lists

Can this be done in pure Markdown? (Obviously it can be done in HTML, as above.) The things I try don't work:

* Lowest level
        - Level 3

(with 2x4 spaces before the level 3 bullet) becomes

  • Lowest level - Level 3

putting it all into a single line.

* Lowest level  
        - Level 3

(with two spaces at the end of the first line) shows up as

  • Lowest level
    - Level 3

where Level 3 isn't a nested list: it is actually part of the first bullet, which has an internal <br> line break.

* Lowest level
    * 
        * Level 3

again puts all of it into one bullet:

  • Lowest level * * Level 3

Can it be done?

1 Answers

You can achieve this look with fake level 3 items. You can build them up using non-breaking spaces and a ⦁ (Z NOTATION SPOT) character.

Source:

- Lowest level[space][space]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;⦁ &nbsp;&nbsp;Level 3: **this skipped level 2**[space][space]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;⦁ &nbsp;&nbsp;3 again
    - Level 2
- Back at level 1

Result:

  • Lowest level
              ⦁   Level 3: this skipped level 2
              ⦁   3 again
    • Level 2
  • Back at level 1

For comparison, here's a real list with 3 levels:

  • Level 1
    • Level 2
      • Level 3
Related