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

    function helloWorld() {
      console.log("Hello, World!");
    }
    
  • Item 3

    This is a blockquote within the third item.

  • Item 1
    • Sub item with a link
    • Sub item with an image alt text
  • 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.