chatgpt-demo
chatgpt-demo copied to clipboard
feat: add copy code block feature

Description
Add copy code block feature, close #69 .
Linked Issues
Additional context
Someone is attempting to deploy a commit to a Personal Account owned by @ddiu8081 on Vercel.
@ddiu8081 first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated |
|---|---|---|---|---|
| chatgpt-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Mar 6, 2023 at 5:59AM (UTC) |
@ddiu8081 Can you help review the code hh 😄
Description
Add copy code block feature, close #69 .
Linked Issues
Additional context
Actually, I feel like the copy function could be added to the entire answer that is being copied.
Description
Add copy code block feature, close #69 .
Linked Issues
Additional context
Actually, I feel like the copy function could be added to the entire answer that is being copied.
I feel that the general scene of copying is to copy the code.
Thanks for your contribution! I'm a little busy on Sunday, I'll check it out and merge it in later, please wait a bit!
@yzh990918 好像没法复制普通文本了

@yzh990918 好像没法复制普通文本了
稍等,我修复一下