Markdown Tables
Basic Table Syntax
Create tables using | (pipe) and - (dash).
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Data 1 | Data 2 | Data 3 |
| Data 4 | Data 5 | Data 6 |
The second row with dashes separates the header from the body.
Column Alignment
Use colons : to align column content.
| Left | Center | Right |
|:-----|:------:|------:|
| A | B | C |
| 1 | 2 | 3 |
Mix alignments as needed for your data.
| Alignment | Syntax | Example |
|---|---|---|
| Left (default) | :--- or --- | Text aligned left |
| Center | :---: | Text centered |
| Right | ---: | Text aligned right |
Formatting in Tables
You can use Markdown formatting inside table cells.
Tip
Keep tables simple. Complex layouts may not render well in all viewers.
- Bold:
**text**works in cells - Italic:
*text*works in cells - Code:
`code`works in cells - Links:
[text](url)works in cells
Quick Table Insertion
In MD2PDF, click the TBL button in Quick Tags to insert a table template instantly.