Markdown table formatting #4656

Closed
opened 2026-02-16 17:44:56 -05:00 by yindo · 3 comments
Owner

Originally created by @lscherrer2 on GitHub (Jan 10, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Markdown "renderer" in the TUI does not align columns. Rows with wider entries cause misalignment.

Plugins

No response

OpenCode version

1.0.220

Steps to reproduce

  1. Ask Claude Opus/sonnet (or any LLM) to output a markdown table where some rows have long entries, and others have short ones.
  2. Observe misalignment

Screenshot and/or share link

Image

Operating System

macOS Tahoe

Terminal

iTerm2

Originally created by @lscherrer2 on GitHub (Jan 10, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Markdown "renderer" in the TUI does not align columns. Rows with wider entries cause misalignment. ### Plugins _No response_ ### OpenCode version 1.0.220 ### Steps to reproduce 1. Ask Claude Opus/sonnet (or any LLM) to output a markdown table where some rows have long entries, and others have short ones. 2. Observe misalignment ### Screenshot and/or share link <img width="820" height="192" alt="Image" src="https://github.com/user-attachments/assets/f187b27d-b820-44bb-997d-375bafdebfdd" /> ### Operating System macOS Tahoe ### Terminal iTerm2
yindo added the opentuibug labels 2026-02-16 17:44:56 -05:00
yindo closed this issue 2026-02-16 17:44:56 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 10, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7621: When a permission string or label is long, the UI layout breaks, causing text overflow and misalignment in the interface
  • #7660: Status modal overflowing beyond the visible viewport

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 10, 2026): This issue might be a duplicate of existing issues. Please check: - #7621: When a permission string or label is long, the UI layout breaks, causing text overflow and misalignment in the interface - #7660: Status modal overflowing beyond the visible viewport Feel free to ignore if none of these address your specific case.
Author
Owner

@kostrse commented on GitHub (Jan 10, 2026):

Tables are often poorly formatted. A formatting filter could be applied on output to format tables automatically. The filter could also adjust table width and wrap text in cells when needed.

@kostrse commented on GitHub (Jan 10, 2026): Tables are often poorly formatted. A formatting filter could be applied on output to format tables automatically. The filter could also adjust table width and wrap text in cells when needed.
Author
Owner

@bartman commented on GitHub (Jan 12, 2026):

I'm seeing this with 1.1.14

Image
@bartman commented on GitHub (Jan 12, 2026): I'm seeing this with 1.1.14 <img width="1495" height="294" alt="Image" src="https://github.com/user-attachments/assets/8efa8ef2-c682-4eb4-b064-a0d705484636" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4656