Skip to content

Change all documentation code examples to CJS when clicking on CJS for one #49508

Closed
@eldoy

Description

@eldoy

Affected URL(s)

https://nodejs.org/api/url.html

Description of the problem

When I click on CJS for the first code example of a page in the documentation, the later code examples are still ESM, forcing me to click on the slider for every single example. That is annoying. It would also be nice if my choice could be remembered so I never have to think about that again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions