openclaw/src/markdown
George Zhang a1413a011e
feat(telegram): convert markdown tables to bullet points (#1495)
Tables render poorly in Telegram (pipes stripped, whitespace collapses).
This adds a 'tableMode' option to markdownToIR that converts tables to
nested bullet points, which render cleanly on mobile.

- Add tableMode: 'flat' | 'bullets' to MarkdownParseOptions
- Track table state during token rendering
- Render tables as bullet points with first column as row labels
- Apply bold styling to row labels for visual hierarchy
- Enable tableMode: 'bullets' for Telegram formatter

Closes #TBD
2026-01-23 18:00:51 +00:00
..
code-spans.ts test: add command arg parsing coverage (#936) (thanks @thewilloftheshadow) 2026-01-15 09:38:21 +00:00
fences.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
frontmatter.test.ts test: expand frontmatter coverage 2026-01-17 20:12:04 +00:00
frontmatter.ts fix: preserve inline frontmatter values 2026-01-17 19:56:10 +00:00
ir.table-bullets.test.ts feat(telegram): convert markdown tables to bullet points (#1495) 2026-01-23 18:00:51 +00:00
ir.ts feat(telegram): convert markdown tables to bullet points (#1495) 2026-01-23 18:00:51 +00:00
render.ts Format: apply oxfmt fixes 2026-01-15 01:27:16 +00:00