Skip to content

Conversation

@bobrowadam
Copy link
Contributor

Summary

  • Fix markdown tables appearing misaligned by switching from visual-line-mode to word-wrap and ensuring tables use a monospace font (fixed-pitch)
  • Auto-align markdown tables after chat response completes using markdown-table-align

Test plan

  • Open a chat and ask for a response containing markdown tables
  • Verify tables are properly aligned with consistent column widths
  • Verify table formatting is preserved (not broken by line wrapping)

🤖 Generated with eca

bobrowadam and others added 2 commits January 20, 2026 23:53
- Replace visual-line-mode with word-wrap to prevent table rows from wrapping
- Add face-remap for markdown-table-face to ensure monospace font
- Call font-lock-ensure after assistant text to trigger table fontification

🤖 Generated with [eca](https://eca.dev)

Co-Authored-By: eca <noreply@eca.dev>
🤖 Generated with [eca](https://eca.dev)

Co-Authored-By: eca <noreply@eca.dev>
'line-height 20)))
(_
(eca-chat--add-text-content text))))
(setq-local eca-chat--empty nil))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why removed this, but I believe it's not being used anymore, so it's safe to remove this variable

Copy link
Member

@ericdallo ericdallo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! looks like a quick win worth it!

@ericdallo ericdallo merged commit 298849d into editor-code-assistant:master Jan 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants