[Bug] Code block highlighting renders as per-line ribbons instead of continuous rectangle on macOS

Status Closed — not planned
Reported on v2.1.163
Maintainer reply None cached
Activity 1 comment · opened Jun 5, 2026 · closed Jul 10, 2026

Bug Description
In the Claude Code extension in VS Code on macOS, code blocks paint as per-line ribbons. Fenced code blocks shade the inline code element, so multi-line blocks get line-by-line highlighter ribbons (ragged edges, gaps) instead of one continuous rectangle. Repro: ask for any multi-line code block. Fix: put the background on the block-level pre (transparent pre code), or display:block on the fenced code.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.163
  • Feedback ID: ac849bf2-45c3-4ffc-ad84-6a5f6a1106f1

Errors

[]

View original on GitHub ↗

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