:---: works. : - - - : does not. Keep colons flush to the edge.Markdown table alignment is controlled by colons in the separator line:
| Marker | Result |
|---|---|
:--- | Left aligned (default) |
:--: | Center aligned |
---: | Right aligned |
---- | Left aligned (no colon) |
Click any column header in the preview to cycle through these options. The source updates automatically.
GitHub, GitLab, Bitbucket, and static site generators each use slightly different markdown engines. GridAlign targets the most common subset:
Tables with block elements inside cells, line breaks, or HTML tags may need platform-specific testing.
Paste spreadsheet data directly. GridAlign detects comma-separated, tab-separated, and space-separated values. For best results:
The converter strips rich formatting and creates clean markdown with consistent padding.
Your team maintains a changelog in a GitHub repo. Different contributors use different spacing, so the table looks ragged. Here is how GridAlign helps:
The result renders identically on GitHub, in your IDE preview, and in generated documentation sites.