Claude Code markdown-tables skill for fixed-width table columns
Align Markdown table cells by their widest values while preserving numeric alignment, separators, and empty-cell placeholders.
中文Install in Claude Code
A local Claude Code project containing Markdown documentation. The sample table uses plain text and numbers.
- Review `.claude/skills/markdown-tables/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/markdown-tables/` in your project and save the reviewed file as `.claude/skills/markdown-tables/SKILL.md`.
- Start Claude Code from that project's root, then select `/markdown-tables` in the slash menu.
Example task
Invoke /markdown-tables and format this fictional gallery table. Keep the supplied values and numeric alignment.
table `gallery hours` | headers `Room`, `Stops` | numeric column should be right-aligned
rows `East / 7`, `Reading Room / 12`, `West / blank`What to check
Use `Reading Room` for the room column width. Keep `7`, `12`, and `-` for the numeric cells. Preserve a trailing colon in the numeric separator and align the pipe characters.
Original SKILL.md on GitHub · Updated
Frequently asked question
Will formatting remove existing numeric right alignment?
Keep the separator's alignment marker. Pad the cells with spaces outside any bold markers.