# Lists

#### Unordered list

* First item
* Second item
  * First nested item
    * Second nested item
* Third item

#### Ordered list

1. First item
2. Second item
   1. First nested item
      1. Second nested item
3. Third item

#### Tasks

* [ ] Task 1
* [x] Task 2, done

#### Mix

1. Ordered list item
   * Unordered list item

#### UL With blocks

* ## List item starting with a heading

  A paragraph below it.
* Text before code block

  ```
  code block
  a second line
  ```
* ```
  Directly, a code block
  ```

#### OL With blocks

1. ## List item starting with a heading

   A paragraph below it.
2. Text before code block

   ```
   code block
   a second line
   ```
3. ```
   Directly, a code block
   ```

#### Tasks With blocks

* ## List item starting with a heading

  A paragraph below it.
* [x] Text before code block

  ```
  code block
  a second line
  ```
* ```
  Directly, a code block
  ```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.gitbook.io/test-gitbook-open/blocks/lists.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
