-
Notifications
You must be signed in to change notification settings - Fork 915
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 click to copy button to code samples #1245
Conversation
Adds a click to copy button to code samples that don't use the Prism highlighter.
I'm going to merge this to include it in the release. I don't foresee any problems, but we can always roll it back in a revision release if there's a conflict. |
There is an issue with BS. For details, see #1264. |
If / once this makes it into a published release, maybe it would be good to mention this wonderful new feature in the changelog? WDYT @geriom? |
Refactor of google#1245, Bootstrap5-compatible code.
Refactor of google#1245, Bootstrap5-compatible code.
Refactor of PR google#1245. Bootstrap5-compatible code.
Refactor of PR google#1245. Bootstrap5-compatible code.
Refactor of PR google#1245. Bootstrap5-compatible code.
Refactor of PR google#1245. Bootstrap5-compatible code.
Refactor of PR google#1245. Bootstrap5-compatible code.
Adds a click to copy button to code samples that don't use the Prism highlighter.
This implementation requires the latest version of Popper. I ran a
grep
on the whole website and couldn't find any other Popper instances. So it seems updating the Popper library won't affect anything.Screenshots