forked from vhaudiquet/rhema-together
Messages were plain text, so headings, lists, code, tables, and links from people and the agent showed as literal markup. Render them with markdown-it, with raw HTML off and unsafe link schemes blocked. External links open in a new tab, and @rhema stays highlighted. Code, tables, quotes, and images get styles that fit the message body.