Loading

Lists

You can organize items into ordered and unordered lists.

Unordered lists are created by starting each line with a hyphen -, asterisk *, or plus sign +.

  • Item 1
  • Item 2
  • Item 3
- Item 1
- Item 2
- Item 3

Ordered lists are created by starting each line with a number followed by a period.

  1. Item 1
  2. Item 2
  3. Item 3
1. Item 1
2. Item 2
3. Item 3

When you want to create a nested list within a list item, indent the nested list by four spaces.

  • Item 1
  • Item 2
    • Subitem 1
    • Subitem 2
      • Subsubitem 1
      • Subsubitem 2
  • Item 3
- Item 1
- Item 2
    - Subitem 1
    - Subitem 2
        - Subsubitem 1
        - Subsubitem 2
- Item 3
  1. Item 1
  2. Item 2
    1. Subitem 1
    2. Subitem 2
      1. Subsubitem 1
      2. Subsubitem 2
  3. Item 3
1. Item 1
2. Item 2
    1. Subitem 1
    2. Subitem 2
        1. Subsubitem 1
        2. Subsubitem 2
3. Item 3
  1. Item 1
  2. Item 2
    • Subitem 1
    • Subitem 2
      1. Subsubitem 1
      2. Subsubitem 2
        1. Subsubsubitem 1
        2. Subsubsubitem 2
  3. Item 3
    • Subitem 1
    • Subitem 2
      • Subsubitem 1
      • Subsubitem 2
      • Subsubsubitem 1
      • Subsubsubitem 2
1. Item 1
2. Item 2
    - Subitem 1
    - Subitem 2
        1. Subsubitem 1
        2. Subsubitem 2
            1. Subsubsubitem 1
            2. Subsubsubitem 2
3. Item 3
    - Subitem 1
    - Subitem 2
        - Subsubitem 1
        - Subsubitem 2
            - Subsubsubitem 1
            - Subsubsubitem 2

You can include any type of content within a list item, such as paragraphs, code blocks, or images. To include a paragraph of text within a list item, indent the content by four spaces.

  1. This is a list item with a paragraph of text.

    This is a paragraph of text within a list item.

  2. This is a list item with a code block:

    echo "Hello, World!"
    
  3. This is a list item with an image:

    Image

  4. This is a list item with an admonition:

    Note

    This is a note within a list item.

1. This is a list item with a paragraph of text.

    This is a `paragraph` of text within a list item.

2. This is a list item with a code block:

    ```bash
    echo "Hello, World!"
    ```

3. This is a list item with an image:

    ![Image](./img/apm.png)

4. This is a list item with an admonition:

    :::{note}
    This is a note within a list item.
    :::