Tables

July 22, 2026 ยท View on GitHub

Line breaks in cells

<br> starts a new line inside a cell instead of being dropped or printed literally:

ToolDescription
mdcatRenders Markdown
right in your terminal
batcat clone
with syntax highlighting

Wide cells wrap to fit the terminal

A cell wider than the terminal wraps across multiple lines instead of overflowing:

FeatureNotes
Table layoutColumn widths are distributed proportionally and shrunk to fit the terminal, wrapping cell content as needed instead of letting it run off the edge of the screen.

Proportional column widths

Columns shrink proportionally to their content, but never break a short word apart just to make room for a long neighbour:

ToolPurpose
mdcatRender Markdown in the terminal, with syntax highlighting, images, and now wrapped table cells
batcat with syntax highlighting, Git integration, and automatic paging