How Do You Indent a Bulleted List in a Readme File Using Github Flavored Markdown?

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

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

4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest