Skip to main content
ESC

Tables

Tables in Robindoc follow the standard GitHub Flavored Markdown (GFM) table syntax. They are automatically wrapped in a Block component for consistent spacing and can contain rich markdown content in cells.

Basic Syntax 

Tables use pipes (|) to separate columns and hyphens (-) for the header separator:

| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |

Result:

Header 1Header 2Header 3
Cell 1Cell 2Cell 3
Cell 4Cell 5Cell 6

Alignment 

You can align columns using colons in the separator row:

| Left Aligned | Center Aligned | Right Aligned |
|:-------------|:--------------:|--------------:|
| Left | Center | Right |
| More left | More center | More right |

Result:

Left AlignedCenter AlignedRight Aligned
LeftCenterRight
More leftMore centerMore right

Rich Content in Cells 

Table cells support nested markdown elements:

| Feature | Description |
|---------|-------------|
| **Bold** | Text with *emphasis* |
| `Code` | [Link](./03-links.md) |
| List | - Item 1<br>- Item 2 |

Result:

FeatureDescription
BoldText with emphasis
CodeLink
List- Item 1
- Item 2

Complex Tables 

You can create tables with multiple rows and complex content:

| Component | Props | Description |
|-----------|-------|-------------|
| `Button` | `onClick`, `disabled` | A clickable button component |
| `Input` | `value`, `placeholder` | Text input field |
| `Card` | `title`, `children` | Container component with title |

Result:

ComponentPropsDescription
ButtononClick, disabledA clickable button component
Inputvalue, placeholderText input field
Cardtitle, childrenContainer component with title

Implementation Details 

ListsHTML
Return to navigation