From 0599cc37df453bf79d47490eb4fca3cd63f67f80 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 1 Dec 2020 12:16:18 +0000 Subject: [PATCH] docs: don't wrap code block Some markdown parsers don't like this. PR-URL: https://github.com/npm/cli/pull/2271 Credit: @ethomson Close: #2271 Reviewed-by: @darcyclarke --- docs/content/commands/npm-dist-tag.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/commands/npm-dist-tag.md b/docs/content/commands/npm-dist-tag.md index 65ce22a179fc7..585da16ad2d2c 100644 --- a/docs/content/commands/npm-dist-tag.md +++ b/docs/content/commands/npm-dist-tag.md @@ -78,8 +78,8 @@ This command used to be known as `npm tag`, which only created new tags, and so had a different syntax. Tags must share a namespace with version numbers, because they are -specified in the same slot: `npm install @` vs `npm install -@`. +specified in the same slot: `npm install @` vs +`npm install @`. Tags that can be interpreted as valid semver ranges will be rejected. For example, `v1.4` cannot be used as a tag, because it is interpreted by