Markdown tables in CLI output render with unaligned column pipes

Resolved 💬 1 comment Opened May 7, 2026 by stephviz Closed Jun 5, 2026

Summary

When Claude Code prints a markdown table, the | column separators are not padded to a consistent column width per column. The raw text in the terminal looks ragged, and copying it for paste/edit elsewhere requires manual realignment to be readable as source.

Environment

  • Terminal: iTerm2
  • OS: macOS (Darwin 25.4.0)
  • Claude Code version: 2.1.132

Expected

Tables print with each column padded to the width of the widest cell, e.g.

| Connector | Required by | Recommended by |
| ---------- | ----------- | -------------- |
| Notion MCP | feasibility | — |
| Atlassian | jira-ticket | — |

Actual

Cells are emitted without padding, so |s do not line up vertically and the table is hard to scan or copy-edit as source.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗