-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add copy to clipboard button in code snippets #2
Conversation
Extension commit ID: 6be5366 I tested the function. Overall, this works well. Thank you very much for your update. |
Thanks for pointing that out, it should be fixed in efe8b91 by increasing the code block height if it's too narrow when the copy button is present, can you confirm it works for you? |
I've modified the behavior as changing the code block height made it seem like there were multiple lines In the latest commit (548c3f5) the copy button should always fit inside the code block and only modify the height in edge cases |
It is perfect now. |
Add customized version (that works with Gradio and this extension) of highlightjs-copy to show a button in each code snippet that copies code
Requested in #1