Skip to content

doc: copy example code to the clipboard #46894

Closed
@jakecastelli

Description

@jakecastelli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions