--- title: "Markdown Lists" date: 2024-06-01T12:00:00Z draft: false --- ## Markdown Lists Markdown supports both ordered and unordered lists, as well as nested lists. Here's how you can create them: ### Ordered List 1. First item 2. Second item 3. Third item ### Unordered List - List item - Another item - And another item ### Nested Unordered list - Fruit - Apple - Orange - Dairy - Milk - Cheese ### Nested Ordered list 1. Fruit - Apple - Orange 2. Dairy 1. Milk 2. Cheese ### Mixed Nested Lists 1. First item - Sub item 1 2. Second item 1. Sub item 1 - Sub sub item 1 2. Sub item 2 3. Third item - Sub item 1 1. Sub sub item 1 ### List with paragraphs, code blocks, and blockquotes - Item 1 This is a paragraph within the first item. - Item 2 ```javascript function helloWorld() { console.log("Hello, World!"); } ``` - Item 3 > This is a blockquote within the third item. ### Lists with links, images, and other markdown content - Item 1 - Sub item with a [link](https://example.com) - Sub item with an image ![alt text](https://placehold.co/600x200.png) - Item 2 - Sub item with **bold text** - Sub item with _italic text_ - Item 3 - Sub item with `inline code` - Sub item with a blockquote > This is a blockquote within a sub item. This flexibility allows you to create rich and organized content using Markdown lists.