From 4732cc340ecf557c0caeb493d4fbc80a6b4d89c4 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Tue, 21 Dec 2021 19:32:11 +0000 Subject: [PATCH] doc: fix example commands for REPLACEME updates Split the two example command lines for updating the `REPLACEME` tags into separate `console` fenced code blocks. This fixes some stray "`" characters and makes each example one-click copiable when viewing the guide in GitHub's web UI. --- doc/guides/releases.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/guides/releases.md b/doc/guides/releases.md index beb49771beb46e..786d16c075a036 100644 --- a/doc/guides/releases.md +++ b/doc/guides/releases.md @@ -326,7 +326,11 @@ grep REPLACEME doc/api/*.md and substitute this node version with ```console -sed -i "s/REPLACEME/$VERSION/g" doc/api/*.md` or `perl -pi -e "s/REPLACEME/$VERSION/g" doc/api/*.md +sed -i "s/REPLACEME/$VERSION/g" doc/api/*.md +``` +or +```console +perl -pi -e "s/REPLACEME/$VERSION/g" doc/api/*.md ``` `$VERSION` should be prefixed with a `v`.