How do you indent a bulleted list in a README file using GitHub flavored markdown?

276.2k views Asked by At

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

There are 1 answers

6
Adi On BEST ANSWER

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