Markdown Coach

Markdown Tables: How to Make a Table

Tables line information up in rows and columns. Separate columns with | pipes. The first row is the header, the second row is the separator | --- |, then one row per line.

The rule

Separate columns with |. The first row is the header, the second row is | --- | --- |, then one row per line.

You type

| Dino | Size |
| --- | --- |
| T-Rex | Huge |

You get

DinoSize
T-RexHuge

Try it yourself

Make a table with the headers Item and Qty, and one row: Hat, 1.

Live preview

More examples

You type

| Dino | Size |
| --- | --- |
| T-Rex | Huge |
| Raptor | Small |

You get

DinoSize
T-RexHuge
RaptorSmall

A two-column table with two rows.

You type

Dino | Size
--- | ---
T-Rex | Huge

You get

DinoSize
T-RexHuge

The outer pipes are optional; this makes the same table.

Common mistakes

You type

| Dino | Size |
| T-Rex | Huge |

Shows as

| Dino | Size | | T-Rex | Huge |

No separator row, so it stays plain text.

You type

Notes
| Dino | Size |
| --- | --- |
| T-Rex | Huge |

Shows as

Notes

DinoSize
T-RexHuge

Text right above a table can swallow it in some apps. Leave a blank line before the table.

Where it works

GitHub, Obsidian, Notion, VS Code and most modern apps. Discord does not show tables. The columns do not need to line up in the text.

Keep it, not just learn it

The full course has 22 skills on five islands, short Missions that check your answers, and reviews a few days later so it sticks. Free, no sign-up.

Practise this in the course