Skip to content

Markdown table formatting #7671

Description

@lscherrer2

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 10, 2026
  2. github-actions commented on Jan 10, 2026

    @github-actions
    Contributor

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

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

  3. kostrse commented on Jan 10, 2026

    @kostrse

    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.

  4. bartman commented on Jan 12, 2026

    @bartman

    I'm seeing this with 1.1.14

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions