Skip to content

feat(ai): add mermaid support to markdown - #780

Open
conwnet wants to merge 5 commits into
masterfrom
dev
Open

conwnet wants to merge 5 commits into
masterfrom
dev

Conversation

@conwnet

@conwnet conwnet commented Oct 19, 2026

Copy link
Copy Markdown
Owner

No description provided.

@Siddhant-K-code
Siddhant-K-code self-requested a review October 19, 2026 12:33

@Siddhant-K-code Siddhant-K-code left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked this end to end with a headless Chromium harness that renders the real Markdown component under the same CSP as chat-view.ts. Lazy chunk loading and the script nonce work, with no CSP violations.

Inline comments cover four bugs I reproduced (HC Light theme, state reset while streaming, silent render failures, shared DOMPurify hooks) plus two nits.

Comment thread extensions/github1s-ai/src/webview/components/Markdown.ts Outdated
Comment thread extensions/github1s-ai/src/webview/components/Markdown.ts Outdated
Comment thread extensions/github1s-ai/src/webview/components/Markdown.ts Outdated
Comment thread extensions/github1s-ai/src/webview/components/Markdown.ts Outdated
Comment thread extensions/github1s-ai/src/webview/components/Markdown.ts Outdated
Comment thread extensions/github1s-ai/src/chat-view.ts
Co-authored-by: Siddhant Khare <Siddhantkhare2694@gmail.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Deploying github1s with  Cloudflare Pages  Cloudflare Pages

Latest commit: fd32042
Status: ✅  Deploy successful!
Preview URL: https://56a31a53.github1s-dld.pages.dev
Branch Preview URL: https://dev.github1s-dld.pages.dev

View logs

@conwnet

conwnet commented Oct 19, 2026

Copy link
Copy Markdown
Owner Author

@Siddhant-K-code Thank you for your review, I have made the fixes

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants