[BUG] Cursor: markdown tables render at a different width than surrounding text in the same response (longstanding)

Resolved 💬 1 comment Opened May 19, 2026 by Yair-Fido Closed Jun 18, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

# Markdown tables render at a different width than surrounding text (Cursor, longstanding)

## Summary
In the Cursor Claude Code panel, markdown tables in assistant output
are rendered at a different (wider) width than the surrounding text in
the same response. Plain text and reformatted bullet lists wrap to the
panel's narrow width, while some tables break out and render across
a much wider area. The result is that whichever format is wrong looks
unreadable next to the other.

**This has been broken for as long as we've been using Claude Code.
It is not a recent regression.**

## Environment
- **Host: Cursor** (Claude Code running inside the Cursor IDE side panel)
- Platform: macOS (Darwin 25.3.0)
- Shell: zsh
- Model: Opus 4.7 (1M context)

## Steps to reproduce
1. In Cursor, open the Claude Code panel at a typical sidebar width.
2. Ask Claude Code to produce a long response that mixes wrapped
   paragraphs / bullet lists with markdown tables.
3. Observe that the tables and the surrounding text are rendered at
   different widths within the same response.

## Expected
All content in a single response — paragraphs, lists, and tables alike
— should respect the same available width and wrap consistently.

## Actual
See attached screenshot. In a single response:

- The top portion (reformatted bullet/flat-list entries: `Ticket:`,
  `Summary:`, `Status:`, `Reason:`) wraps to roughly 30 characters per
  line — the panel's apparent width.
- The bottom portion (a 2-row markdown table with 5 columns) renders
  across what looks like the full editor width, far beyond the panel
  the text was wrapped to.

The two sections come from the same assistant message, but each is
clearly being laid out against a different width budget.

## Impact
Structured output (audits, comparisons, reports) is constantly
unreadable in Cursor. The user ends up asking the assistant to
re-format content as flat lists or HTML files just to read it, which
defeats the purpose of markdown tables.

## Notes
- Window was expanded before the screenshot.
- Reproducible across many sessions over a long period — longstanding
  bug in the Cursor environment, not a one-off.
- Screenshot shows both behaviours in the same response for direct
  comparison.

<img width="975" height="443" alt="Image" src="https://github.com/user-attachments/assets/07d552ce-d16e-4edb-b329-4bd035979340" />

What Should Happen?

All content in a single assistant response — paragraphs, bullet lists, and markdown tables — should respect the same available width and wrap consistently to the Claude Code panel.

Error Messages/Logs

Steps to Reproduce

  1. Open Cursor and open multiple Claude Code panels at a typical sidebar width.
  2. Ask Claude Code to produce a long response that mixes wrapped paragraphs or bullet lists with markdown tables.
  3. Leave the panel and let another one take the focus - thus auto expanding it's width
  4. Get back to the original panel, and observe that the tables and the surrounding text in the same response are laid out against different width budgets.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.144

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Cursor

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗