Lists

Lists are one of the simplest and best uses of Markdown, in my opinion. To make an unordered list, simply precede the text with an asterisk and a space:

* This is a list item.* This is another list item.

By indenting with multiples of two spaces, you can create unordered sub lists as well:

* This is a list item * This is a sub-list item. * This is another sub-list item.* This should be a fact about meerkats but is alas, another list item.

Ordered or numbered lists can be created by preceding text with a number, a full stop, and then a space:

1. This is the first list item2. This is the second list item.2. This is the third list item, it does not matter which numbers you use, as long as the text is preceded by a number.

You can even ...

Get GitLab Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.