Markdown Tables

How to align Markdown tables

After the header row, you can one more row with triple-dash.

triple-dash – align-left

---

adding a colon after triple-dash – right-align

---:

adding a color before and after triple-dash – center-align

:---:
| Header 1    | Header 2      | Header 3    |
| ---         | :---:         |   ---:      |
| Left-align  |  Center-align | Right-align |
Header 1Header 2Header 3

Left-align

Center-align

Right-align

Last updated