-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix/feature copy to clipboard #2271 #2278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fix/feature copy to clipboard #2271 #2278
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Okay, but with this, we're also copying the Shiki comments to the clipboard, and it takes more extra work to achieve the desired result - as you've seen in the previous PRs. |
Dear sir, thanks to address my issue. I will try to resolve the issue. Have a good day! |
Dear Sir, my code no longer copies the Shiki comments to the clipboard. |
I don't think this covers all comments and all cases - perhaps the other PR had the same solution? |
I have tested all the code examples in the documentation as thoroughly as possible and obtained the correct output in each case. I would be grateful if you could kindly point out any specific case that I may have overlooked. |
For example, here you remove an empty line: Or, in the case of diffs, you also copy the deleted lines to the clipboard. |
This pull request adds Copy button to all code snippets in the tailwindcss.com documentation. Here are some screen shorts.
Before:
After: