Skip to content
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

doc: copy example code to the clipboard #46894

Closed
jakecastelli opened this issue Mar 1, 2023 · 3 comments · Fixed by #46928
Closed

doc: copy example code to the clipboard #46894

jakecastelli opened this issue Mar 1, 2023 · 3 comments · Fixed by #46928
Labels
doc Issues and PRs related to the documentations. feature request Issues that request new features to be added to Node.js.

Comments

@jakecastelli
Copy link
Contributor

What is the problem this feature will solve?

In documentation, it would be good to have a button next to the code example (snippets) to be able to copy the code to clipboard.

What is the feature you are proposing to solve the problem?

When reading nodejs doc is inevitable to copy the example code and have a bit of play, usually it is fine as the code examples are not too long, however there are code examples that are page long and makes copy paste not as easy as just a button click.

What alternatives have you considered?

No response

@jakecastelli jakecastelli added the feature request Issues that request new features to be added to Node.js. label Mar 1, 2023
@VoltrexKeyva VoltrexKeyva added the doc Issues and PRs related to the documentations. label Mar 2, 2023
@karthiknadar1204
Copy link

i would like to work on this issue,please assign it to me

@jakecastelli
Copy link
Contributor Author

Hi @karthiknadar1204 👋 this one has been under review here

nodejs-github-bot pushed a commit that referenced this issue Mar 25, 2023
PR-URL: #46928
Refs: #46894
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
@jakecastelli
Copy link
Contributor Author

Fixed in #46928, does anyone know when the future would become available in node.org docs?

RafaelGSS pushed a commit that referenced this issue Apr 5, 2023
PR-URL: #46928
Refs: #46894
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
RafaelGSS pushed a commit that referenced this issue Apr 6, 2023
PR-URL: #46928
Refs: #46894
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
RafaelGSS pushed a commit that referenced this issue Apr 7, 2023
PR-URL: #46928
Refs: #46894
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
danielleadams pushed a commit that referenced this issue Jul 6, 2023
PR-URL: #46928
Refs: #46894
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
abhishekumar-tyagi pushed a commit to abhishekumar-tyagi/node that referenced this issue May 5, 2024
PR-URL: nodejs/node#46928
Refs: nodejs/node#46894
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. feature request Issues that request new features to be added to Node.js.
Projects
Status: Pending Triage
Development

Successfully merging a pull request may close this issue.

3 participants