Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

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

Writer Matthew Harrington

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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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