Lists
Published Aug 6, 2021Updated May 4, 2022
Contribute to Docs
In Markdown, items can be organized into ordered and unordered lists.
Ordered Lists
To create an ordered list, add numbers followed by periods.
1. π‘ Preheat oven to 325Β°F2. πͺ Drop cookie dough3. β° Bake for 15 min
The numbers donβt have to be in numerical order, but the list should start with the number one.
It will look like:
- π‘ Preheat oven to 325Β°F
- πͺ Drop cookie dough
- β° Bake for 15 min
Unordered Lists
To create an unordered list, add dashes -
, asterisks *
, or plus signs +
in front of line items.
- πΈ Play more music- π Read more books- π© Code more stuff
It will look like:
- πΈ Play more music
- π Read more books
- π© Code more stuff
Indent one or more items to create a nested list.
- First item- Second item- Third item- Indented item- Indented item- Fourth item
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn Markdown on Codecademy
- Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours - Free course
Learn HTML
Start at the beginning by learning HTML basics β an important foundation for building and editing web pages.Beginner Friendly7 hours