Web Chat: render Telegram-style Markdown tables #547

Closed
opened 2026-10-27 13:36:46 +00:00 by sam · 0 comments
Owner

Extend the Web Chat Markdown renderer to preserve table structure and strikethrough formatting supported by Telegram rich replies.

Design

Keep the existing dependency-free renderer. Recognize a table only when a header row is immediately followed by a Markdown separator row, parse cells without innerHTML, and reuse inlineMarkdown for cell content.

Acceptance Criteria

Pipe-delimited Markdown tables render as semantic table/thead/tbody elements with inline formatting; strikethrough renders as del; malformed pipe text remains ordinary text; safe DOM construction is preserved and Playwright verifies the rendered structure.


Imported from beads archie-core-1786637490300-20-af3a358e · GitHub #41 · type feature · priority P2 · created 2026-08-08 · closed 2026-08-08

Extend the Web Chat Markdown renderer to preserve table structure and strikethrough formatting supported by Telegram rich replies. ### Design Keep the existing dependency-free renderer. Recognize a table only when a header row is immediately followed by a Markdown separator row, parse cells without innerHTML, and reuse inlineMarkdown for cell content. ### Acceptance Criteria Pipe-delimited Markdown tables render as semantic table/thead/tbody elements with inline formatting; strikethrough renders as del; malformed pipe text remains ordinary text; safe DOM construction is preserved and Playwright verifies the rendered structure. --- _Imported from beads `archie-core-1786637490300-20-af3a358e` · GitHub #41 · type feature · priority P2 · created 2026-08-08 · closed 2026-08-08_
sam added the mediumfeature labels 2026-10-27 13:36:46 +00:00
sam self-assigned this 2026-10-27 13:36:46 +00:00
sam closed this issue 2026-10-27 13:36:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#547