Lists

There are two types of lists in HTML, so there are also two in Markdown: unordered and ordered. An unordered list uses bullets and an ordered list uses numbers

To create an unordered list, you'll want to preface each item in the list with either an asterisk ( * ) or a dash (-) followed by a space and then the item on the list. Each list item also gets its own line. For example, a grocery list in Markdown might look like this:

* Milk * Eggs * Salmon * Butter

This Markdown list would render into the following bullet points:

In the box below, turn the words separated by a comma into a list.


An ordered list is prefaced with numbers, instead of asterisks. Take a look at this recipe:

  1. Crack three eggs over a bowl
  2. Pour a gallon of milk into the bowl
  3. Rub the salmon vigorously with butter
  4. Drop the salmon into the egg-milk bowl

To write that in Markdown, you'd do this:

1. Crack three eggs over a bowl 2. Pour a gallon of milk into the bowl 3. Rub the salmon vigorously with butter 4. Drop the salmon into the egg-milk bowl

Easy, right? It's just like you'd expect a list to look.

In the box below, turn the rest of the recipe into an ordered list.


You now know how to make lists in Markdown!

On to the next lesson!