Skip to content

[DOCS] Missing backtick in synopsis of npm-init #5837

@robin-a-meade

Description

@robin-a-meade

Is there an existing issue for this?

  • I have searched the existing issues

This is a CLI Docs Problem, not another kind of Docs Problem.

  • This is a CLI Docs Problem.

Description of Problem

The synopsis of npm-init is missing a backtick.

npm init <package-spec> (same as `npx <package-spec>)

should be:

npm init <package-spec> (same as `npx <package-spec>`)

Affected versions 8x and 9x:
https://docs.npmjs.com/cli/v8/commands/npm-init
https://docs.npmjs.com/cli/v9/commands/npm-init

Potential Solution

Add the missing backtick.

Affected URL

https://docs.npmjs.com/cli/v9/commands/npm-init

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentationdocumentation related issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions