-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
chore(website): add copy button the code blocks #9750
Conversation
Too bad it's not built into Docusaurus :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hacky but useful
Yeah. It might come in v2? |
@orta does the color work? |
Codecov Report
@@ Coverage Diff @@
## master #9750 +/- ##
==========================================
+ Coverage 64.88% 64.90% +0.01%
==========================================
Files 288 288
Lines 12190 12190
Branches 3020 3022 +2
==========================================
+ Hits 7910 7912 +2
+ Misses 3639 3638 -1
+ Partials 641 640 -1
Continue to review full report at Codecov.
|
aefe810
to
442f77e
Compare
Yeah, this is cool IMO 👍 |
chore(website): add copy button the code blocks (jestjs#9750)
…pshots * upstream/master: (225 commits) docs: add CLA link to contributing docs (jestjs#9789) chore: roll new version of docs v25.3.0 chore: update changelog for release chore(jest-types): correct type testRegex for ProjectConfig (jestjs#9780) feat(circus): enable writing async test event handlers (jestjs#9397) feat: enable all babel syntax plugins (jestjs#9774) chore: add helper for getting Jest's config in e2e tests (jestjs#9770) feat: pass ESM options to transformers (jestjs#9597) chore: replace `any`s with `unknown`s (jestjs#9626) feat: pass ESM options to Babel (jestjs#9766) chore(website): add copy button the code blocks (jestjs#9750) chore: bump istanbul-reports for new uncovered lines design (jestjs#9758) chore: correct CHANGELOG.md (jestjs#9763) chore(jest-types): expose type `CacheKeyOptions` for `getCacheK… (jestjs#9762) docs: Fix simple typo, seperated -> separated (jestjs#9760) v25.2.7 chore: update changelog for release fix: drop getters and setters when diffing objects for error (jestjs#9757) chore(jest-types): correct return type of shouldRunTestSuite fo… (jestjs#9753) ...
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
This is copied verbatim from https://gist.github.com/yangshun/55db997ed0f8f4e6527571fc3bee4675 with color of button changed from
#fff
tovar(--green)
.Test plan