Skip to content

Commit 19db19b

Browse files
richardlautargos
authored andcommitted
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. PR-URL: #41269 Refs: #39544 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
1 parent 800640a commit 19db19b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/guides/releases.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,13 @@ grep REPLACEME doc/api/*.md
326326
and substitute this node version with
327327

328328
```console
329-
sed -i "s/REPLACEME/$VERSION/g" doc/api/*.md` or `perl -pi -e "s/REPLACEME/$VERSION/g" doc/api/*.md
329+
sed -i "s/REPLACEME/$VERSION/g" doc/api/*.md
330+
```
331+
332+
or
333+
334+
```console
335+
perl -pi -e "s/REPLACEME/$VERSION/g" doc/api/*.md
330336
```
331337

332338
`$VERSION` should be prefixed with a `v`.

0 commit comments

Comments
 (0)