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

Alaa Awad picture Alaa Awad · Nov 16, 2014 · Viewed 64.3k times · Source

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?

Answer

Adi picture Adi · Jan 2, 2015

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

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

OR

* Item 1
* Item 2
  * Sub Item 1
  * Sub Item 2

Refer to this Cheetsheet