From 3080b881b281552b2b19a98bc03562ce83a36c26 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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/guides/releases.md b/doc/guides/releases.md index beb49771beb46e..a3a3b51f8bf85f 100644 --- a/doc/guides/releases.md +++ b/doc/guides/releases.md @@ -326,7 +326,13 @@ 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`.