opencode
opencode copied to clipboard
Markdown table formatting
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
- Ask Claude Opus/sonnet (or any LLM) to output a markdown table where some rows have long entries, and others have short ones.
- Observe misalignment
Screenshot and/or share link
Operating System
macOS Tahoe
Terminal
iTerm2
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.
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.
I'm seeing this with 1.1.14