How to Create and Format Markdown Tables
Markdown tables are a standard feature in GitHub Flavored Markdown (GFM). They offer a simple, text-based structure to present comparative data, feature matrices, and API specifications inside README files and documentation.
GFM Table Syntax & Column Alignment
- Left Align: Use
:---in the header divider row. - Center Align: Use
:---:in the header divider row. - Right Align: Use
---:in the header divider row. - Line Breaks inside cells: Insert
<br>HTML tags to create multi-line table cells without breaking the column structure.