mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
b095cf0443
## Summary Fixes #2296 The Markdown component had hardcoded remark/rehype plugins with no way for consumers to add their own. This adds optional `remarkPlugins` and `rehypePlugins` props that are spread into the existing plugin arrays, enabling custom markdown processing. ## Test plan - [ ] Verify custom remarkPlugins are applied alongside built-in plugins - [ ] Verify custom rehypePlugins are applied alongside built-in plugins - [ ] Verify Markdown renders correctly without custom plugins (no regression)