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
Member

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
Member Author

Hi @karthiknadar1204 👋 this one has been under review here

nodejs-github-bot pushed a commit that referenced this issue Mar 25, 2023
@jakecastelli
Copy link
Member 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
RafaelGSS pushed a commit that referenced this issue Apr 6, 2023
RafaelGSS pushed a commit that referenced this issue Apr 7, 2023
danielleadams pushed a commit that referenced this issue Jul 6, 2023
abhishekumar-tyagi pushed a commit to abhishekumar-tyagi/node that referenced this issue May 5, 2024
@RedYetiDev RedYetiDev moved this from Awaiting Triage to Done in Node.js feature requests Jun 26, 2024
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
None yet
Development

Successfully merging a pull request may close this issue.

3 participants