You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish the Chat component to provide the MarkdownRender "format" parameter configuration so that I can implement MDX functionality when I use customMarkDownComponents
Steps To Reproduce
No response
ReproducibleCode
No response
Environment
- OS: MacOS
- browser: chrome
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Which Component
Chat
Semi Version
2.71.2
Current Behavior
customMarkDownComponents not support mdx,because MarkdownRender prop "format"="md"
code Link:
https://github.com/DouyinFE/semi-design/blob/main/packages/semi-ui/chat/chatBox/chatBoxContent.tsx#L53
https://github.com/DouyinFE/semi-design/blob/main/packages/semi-ui/chat/chatBox/chatBoxContent.tsx#L62
key is not right, use a string "index" not a variable index
code Link:
https://github.com/DouyinFE/semi-design/blob/main/packages/semi-ui/chat/chatBox/chatBoxContent.tsx#L61
https://github.com/DouyinFE/semi-design/blob/main/packages/semi-ui/chat/chatBox/chatBoxContent.tsx#L67
https://github.com/DouyinFE/semi-design/blob/main/packages/semi-ui/chat/chatBox/chatBoxContent.tsx#L71
Expected Behavior
I wish the Chat component to provide the MarkdownRender "format" parameter configuration so that I can implement MDX functionality when I use customMarkDownComponents
Steps To Reproduce
No response
ReproducibleCode
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: