Skip to content

fix: render tables in page previews - #216

Merged
massimoalbarello merged 3 commits into
mainfrom
codex/fix-page-preview-tables
Oct 5, 2026
Merged

massimoalbarello merged 3 commits into
mainfrom
codex/fix-page-preview-tables

Conversation

@massimoalbarello

@massimoalbarello massimoalbarello commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Why

Markdown tables in knowledge-page previews appear as pipe-delimited paragraphs because the renderer does not recognize table syntax. Payment schedules and other structured content become difficult to read.

How

Use the maintained GFM table extensions from the remark ecosystem throughout page parsing, rendering, and public export. Render tables with shadcn/ui’s base-nova Table primitives and a Markdown adapter inside Context Use, reused by private previews and public pages. Horizontal scrolling is keyboard accessible. Table content remains available in excerpts and search, and public exports retain safe references without requiring inline styles.

@massimoalbarello
massimoalbarello merged commit 636bbc6 into main Oct 5, 2026
10 checks passed
@massimoalbarello
massimoalbarello deleted the codex/fix-page-preview-tables branch October 5, 2026 11:21
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.

1 participant