Unordered lists are a fundamental feature in Markdown, allowing you to create bullet-point lists effortlessly. They're perfect for presenting information in a clear, easy-to-read format.
Creating an unordered list in Markdown is simple. You can use any of these three characters at the start of a line, followed by a space:
Here's an example using asterisks:
* First item
* Second item
* Third item
This will render as:
You can mix and match these symbols within the same list. Markdown processors will treat them equally:
* First item
- Second item
+ Third item
This flexibility allows for personal preference or consistency with different Markdown flavors.
To create nested lists, indent the child items with spaces or tabs. Most Markdown processors require at least two spaces for proper nesting:
* Fruits
* Apples
* Bananas
* Vegetables
* Carrots
* Broccoli
For more details on creating complex nested structures, check out our guide on Markdown Nested Lists.
Watch out for these issues when creating unordered lists:
While most Markdown processors support basic unordered lists, some advanced features may vary. For standardized Markdown syntax, refer to the CommonMark specification.
Unordered lists are a versatile tool in Markdown, perfect for organizing information. They're easy to create and read, making them essential for documentation, note-taking, and content creation. Practice using different bullet characters and nesting to become proficient in crafting clear, structured lists in your Markdown documents.