> For the complete documentation index, see [llms.txt](https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.gitbook.io/test-gitbook-open/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.gitbook.io/test-gitbook-open/blocks/tables.md).

# Tables

Basic text table

|    |    |    |
| -- | -- | -- |
| A1 | B1 | C1 |
| A2 | B2 | C2 |
| A3 | B3 | C3 |

With header

| A  | B  | C  |
| -- | -- | -- |
| A1 | B1 | C1 |
| A2 | B2 | C2 |
| A3 | B3 | C3 |

With header hidden

| A1 | B1 | C1 |
| -- | -- | -- |
| A2 | B2 | C2 |
| A3 | B3 | C3 |

With resized column (B being larger)

<table><thead><tr><th>A</th><th width="359">B</th><th>C</th></tr></thead><tbody><tr><td>A1</td><td>B1</td><td>C1</td></tr><tr><td>A2</td><td>B2</td><td>C2</td></tr><tr><td>A3</td><td>B3</td><td>C3</td></tr></tbody></table>

With text alignment (A to the right, B centered, C to the left)

|                                           A |                       B                      | C                                            |
| ------------------------------------------: | :------------------------------------------: | -------------------------------------------- |
|                                          A1 |                      B1                      | C1                                           |
| [A with annotation](#user-content-fn-1)[^1] | [B2 with annotation](#user-content-fn-1)[^1] | [C2 with annotation](#user-content-fn-1)[^1] |
|              Pasted right-aligned paragraph |        Pasted right-aligned paragraph        | Pasted right-aligned paragraph               |

Tables with different column types

<table><thead><tr><th></th><th><select multiple><option value="QHptTCeA1iZf" label="A tag that is quite long" color="blue"></option><option value="BNH9LDlHzENG" label="A short one" color="blue"></option><option value="Y2Vf5i8z6920" label="Another one" color="blue"></option></select></th></tr></thead><tbody><tr><td>Some intro text</td><td><span data-option="BNH9LDlHzENG">A short one, </span><span data-option="QHptTCeA1iZf">A tag that is quite long, </span><span data-option="Y2Vf5i8z6920">Another one</span></td></tr><tr><td>Short intro text</td><td><span data-option="BNH9LDlHzENG">A short one</span></td></tr><tr><td>Another text</td><td><span data-option="Y2Vf5i8z6920">Another one</span></td></tr></tbody></table>

Table with full-width

<table data-full-width="true"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td>A1</td><td>B1</td><td>C1</td></tr><tr><td>A2</td><td>B2</td><td>C2</td></tr><tr><td>A3</td><td>B3</td><td>C3</td></tr></tbody></table>

Table with ratings

<table><thead><tr><th></th><th data-type="rating" data-max="5">Rating A</th><th data-type="rating" data-max="5">Rating B</th></tr></thead><tbody><tr><td>R1</td><td>3</td><td>1</td></tr><tr><td>R2</td><td>5</td><td>null</td></tr><tr><td>R3</td><td>null</td><td>4</td></tr></tbody></table>

Table with files

<table><thead><tr><th></th><th data-type="files"></th></tr></thead><tbody><tr><td>An image file</td><td><a href="/files/u0uTPPxDzDAR1pWg7CiO">/files/u0uTPPxDzDAR1pWg7CiO</a></td></tr><tr><td>An openAPI file</td><td><a href="/files/BmKmE9gEIU6axEcqUHJF">/files/BmKmE9gEIU6axEcqUHJF</a></td></tr><tr><td>No file</td><td></td></tr></tbody></table>

Table with checkbox

<table><thead><tr><th></th><th data-type="checkbox">Checkbox</th></tr></thead><tbody><tr><td>Checked</td><td>true</td></tr><tr><td>Not checked</td><td>false</td></tr><tr><td>Checked</td><td>true</td></tr></tbody></table>

Table with content references

<table><thead><tr><th></th><th data-type="content-ref">Link</th></tr></thead><tbody><tr><td>Page</td><td><a href="/pages/FQgotnVU8ziX2m1MbrLv">/pages/FQgotnVU8ziX2m1MbrLv</a></td></tr><tr><td>Page with emoji</td><td><a href="/pages/kG2KiSuewIj1eiIWDH0q">/pages/kG2KiSuewIj1eiIWDH0q</a></td></tr><tr><td>Page with icon</td><td><a href="/pages/0PVCyMnm5wqlZalZ2r0E">/pages/0PVCyMnm5wqlZalZ2r0E</a></td></tr></tbody></table>

[^1]: This fact is very accurate


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/tables.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.
