Feat/markdown#2389
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a pluggable markdown rendering component (si-markdown) built on remark and unified, featuring extensions for KaTeX math, Mermaid diagrams, Highlight.js code highlighting, and sanitized inline HTML. It also integrates this component into the chat message UI. The code review feedback highlights a circular dependency between options and default extensions, unprofessional language in JSDoc comments, a lack of error handling in markdown parsing, and unsafe casting in the fragment component. Additionally, several violations of the style guide were identified regarding the use of the any type instead of unknown.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
42473c1 to
eeef2a2
Compare
This allows using the new si-markdown component to render the messages. Update all the examples with the new renderer.
|
@Killusions this is ready now. I'll wait with changes after feedback |
Documentation.
Examples.
Dashboards Demo.
Playwright report.
Coverage Reports: