From b1d2842fa774c38a78951cc71858da7371e98005 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 24 Oct 2020 18:10:57 +0200 Subject: [PATCH] Add more backticks for consistency --- doc/articles/versions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/articles/versions.md b/doc/articles/versions.md index e7e4214aa..fc2f36c55 100644 --- a/doc/articles/versions.md +++ b/doc/articles/versions.md @@ -117,7 +117,7 @@ Examples: * `>=1.0 <2.0` * `>=1.0 <1.1 || >=1.2` -### Hyphenated Version Range ( - ) +### Hyphenated Version Range (` - `) Inclusive set of versions. Partial versions on the right include are completed with a wildcard. For example `1.0 - 2.0` is equivalent to `>=1.0.0 <2.1` as the @@ -157,7 +157,7 @@ Example: `~1.2` > it will not allow the major number to increase trying to keep backwards > compatibility. -### Caret Version Range (^) +### Caret Version Range (`^`) The `^` operator behaves very similarly, but it sticks closer to semantic versioning, and will always allow non-breaking updates. For example `^1.2.3`