Skip to content

Render Markdown tables in the TUI instead of displaying raw markup #30

Description

@walker-tx

Description

The Kit TUI displays Markdown table source literally rather than rendering it as a table. Pipe delimiters and the header separator row remain visible, which makes tabular responses harder to scan.

Version

kit 0.1.91

Environment

  • OS: macOS (Darwin 25.6.0)
  • Architecture: arm64
  • Client: Kit TUI
  • Terminal: Ghostty over SSH (TERM=xterm-ghostty)

Reproduction

  1. Start the Kit TUI.
  2. Ask the agent to return information as a Markdown table, for example: Compare the available options in a Markdown table.
  3. Observe a response containing Markdown such as:
| Option | Description |
| --- | --- |
| A | First option |
| B | Second option |

Actual behavior

The TUI displays the raw Markdown table syntax, including | delimiters and the | --- | --- | separator row.

Expected behavior

The TUI should render Markdown tables as aligned terminal tables, with sensible wrapping when columns exceed the available width. Narrow terminals should degrade gracefully rather than exposing the raw separator syntax.

Logs

No error or diagnostic is emitted; this appears to be an unsupported Markdown rendering feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions