8.8 Lists

Ordered lists

To create an ordered list in Markdown, you’ll need to place the item number and a period in front of the text.

Input

1. First item
2. Second item
3. Third item 

Output:

  1. First item
  2. Second item
  3. Third item

Unordered lists

You can create an unordered list by placing an asterisk *, dash -, or plus sign + in front of the text.

Input

* first item
* second item
* third item 
- first item
- second item
- third item
+ first item
+ second item
+ third item 

Output

  • first item
  • second item
  • third item