Skip to main content

Tables

Basic Usage

Use | --- | --- | below the header; the number of columns must match.

| Name | Description |
| --- | --- |
| Heading | Page level |
| List | Item listing |

Column Alignment

Colons in the separator row control alignment: :--- left, :--: center, ---: right.

| Left | Center | Right |
| :--- | :--: | ---: |
| Apple | 3 | 9.0 |
| Banana | 12 | 2.5 |

Inline Formatting in Cells

Cells can mix bold, inline code, links, and other Markdown syntax.

| Type | Example |
| --- | --- |
| Bold | **Important** |
| Code | `npm install` |
| Link | [Docusaurus](https://docusaurus.io) |

Line Breaks in Cells

Line breaks inside a cell need HTML <br/> (a Markdown newline is not parsed as a break).

| Feature | Description |
| --- | --- |
| Heading<br/>Multi-level | H1–H6<br/>Auto numbering |
| List | Unordered / ordered<br/>Task list |