Skip to content

doc: copy example code to the clipboard #46894

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.feature requestIssues requesting new Node.js features.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions