Use markdown-it to render assistant chat messages
Categories
(Core :: Machine Learning: Frontend, task)
Tracking
()
People
(Reporter: flozia, Assigned: flozia, NeedInfo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [aife][chat])
Attachments
(2 files)
At the moment we are using prosemirror-markdown to render chat assistant bubbles. By default it uses CommonMark which does not come with support for table parsing. We’ll need to use and configure markdown-it directly to parse markdown for the assistant chat bubbles instead. In order for us to rollout support for table rendering safely and make alignment with models easier this will need to go behind a pref setting.
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Adds support for rendering markdown tables in assistant chat messages. Table elements are wrapped by a custom element for componentization and extending functionality.
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/26a2153b4567
https://hg.mozilla.org/mozilla-central/rev/64738bc26698
Updated•1 month ago
|
Comment 6•24 days ago
|
||
I was able to verify the fix in our latest Nightly build 152.0a1 (2026-05-07) (64-bit), by manually adding the browser.smartwindow.allowTables - true and asking the Ai to show differences from two different things in a markdown table.
Comment 8•24 days ago
|
||
if we were to uplift, we would need the chat prompt version bump bug 2026396 as well as some followup bug to actually turn on the pref
Description
•