Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 315
Alaa Awad Avatar asked Nov 16 '14 18:11

Alaa Awad


People also ask

How do you indent bullets in markdown?

You can mix ordered and unordered lists. To nest a paragraph or blockquote, indent by either 4 spaces or one tab. To nest a code block, indent by either 8 spaces or two tabs, or use a ``` code block.

How do you put bullet points in readme?

You can create bullet points in an unordered list in markdown format using an asterisk “*” at the beginning of the line. Links can be inserted anywhere in the readme.md. The structure is very similar to an image file, but without the exclamation mark at the beginning of the line.

How do I indent a paragraph in GitHub markdown?

As a workaround I would suggest inserting a vertical bar (|) followed by hard spaces (Alt-Code on Windows: Alt+0160). This preserves the indent after the bar resulting in a visually acceptable solution for raw and rendered Markdown. This is a normal line of text. | This is an indented line of text.

How do I make a list readme in GitHub?

You can make an unordered list by preceding one or more lines of text with - or * . To order your list, precede each line with a number.


1 Answers

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

like image 153
Adi Avatar answered Sep 21 '22 17:09

Adi