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:
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:
To write that in Markdown, you'd do this:
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.