Summary
The Markdown preview (Issue #15) should render tables in a readable format. Tkinter Text widget has no native column support, making table rendering complex.
Proposed interim solution
Tables are displayed in monospace font (TkFixedFont) — the same as code blocks. Most Markdown tables use ASCII alignment and are already somewhat readable in monospace. This avoids a placeholder like [Table] that would hide content.
Future full solution (tracked separately)
A proper table renderer would:
- Parse pipe-delimited rows
- Calculate column widths across all rows
- Align cells using Text widget tabs or padding
- Bold the header row
File
- core/markdown_renderer.py — _render_line handles table rows via TABLE_RE
Acceptance Criteria
- Lines starting with | are rendered in TkFixedFont
- Separator lines (| --- | --- |) are rendered but unobtrusive
- No external dependencies
Summary
The Markdown preview (Issue #15) should render tables in a readable format. Tkinter Text widget has no native column support, making table rendering complex.
Proposed interim solution
Tables are displayed in monospace font (TkFixedFont) — the same as code blocks. Most Markdown tables use ASCII alignment and are already somewhat readable in monospace. This avoids a placeholder like [Table] that would hide content.
Future full solution (tracked separately)
A proper table renderer would:
File
Acceptance Criteria