181

I know I can use asterisks to do something like this:

  • list item1
  • list item2

but I was expecting something like ** to indent it one further. Is it possible?

1 Answer 1

271

Sub Lists in GFM(github-flavored-markdown) are done the ways represented below.

- Item 1
- Item 2
- Item 3
  - Sub Item 1
  - Sub Item 2
   
#^ two spaces

OR

* Item 1
* Item 2
* Item 3
  * Sub Item A
  * Sub Item B

Refer to this Cheatsheet

6
  • 28
    Both of these worked for me, but I needed four spaces to indent the 2nd level bullets Sep 4, 2020 at 0:00
  • 4
    can this be done for numbered lists instead of bullets?
    – cryanbhu
    Nov 26, 2020 at 4:35
  • 6
    2-5 spaces worked for me, but you have to add a space and at least a character after the bullet point, like so: " * word"
    – rmutalik
    Oct 15, 2021 at 5:48
  • 3
    Also works for numbered lists
    – abc123
    Oct 20, 2021 at 14:23
  • Also work for check lists Aug 5, 2022 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.