mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 11:19:55 +08:00
Learner-card stems go through InlineMarkdown, which only switches to the rich renderer for math, emphasis, code and links; a stem whose only markup was a table reached the learner as raw pipes. Detect GFM tables and route those stems through RichInlineMarkdown, and add markdown-table.ts (table detection plus a blank line after each table so a trailing sentence is not swallowed as another row). Tests: learner-card-table.spec.tsx, markdown-table.test.ts. Co-authored-by: Claude Code <noreply@anthropic.com>