Skip to content

v1.2.1 — messages render their Markdown

Choose a tag to compare

@BaiGang BaiGang released this 25 Nov 09:15
· 17 commits to main since this release

Message text now renders as Markdown. A reply that used bold, numbered lists, fenced code or a table used to show its punctuation verbatim, because the transcript dropped the text into a pre-wrap div and stopped there.

The panel now renders a dependency-free subset: headings, fenced code, blockquotes, ordered and unordered lists (one nesting level), pipe tables, rules, and inline code / bold / italic / strikethrough / links.

  • Output is built as elements, never injected HTML, so a message cannot put markup into the page; a link target that is not http(s)/mailto is dropped.
  • Parsed messages are cached by text, since the transcript re-renders on every snapshot update.

Verified by rendering a real chief reply to HTML and looking at the result, on top of 46 headless checks.