summaryrefslogtreecommitdiff
path: root/doc/api/util.md
diff options
context:
space:
mode:
authorZeke Sikelianos <zeke@sikelianos.com>2020-04-23 11:01:52 -0700
committerShelley Vohr <shelley.vohr@gmail.com>2020-06-30 09:33:50 -0700
commit3a53c2ff2686dd30d44e9f077b08bbfe24d1c1cd (patch)
tree75750dbbcc09c0e3e3a643ada21c36cc80af704b /doc/api/util.md
parent0e7d26c63b6d55452f6454cfdbdbd3097163511c (diff)
downloadnode-new-3a53c2ff2686dd30d44e9f077b08bbfe24d1c1cd.tar.gz
doc: update ```txt ```fandamental and ```raw code blocks
These are changed to either ```text or ```console. PR-URL: https://github.com/nodejs/node/pull/33028 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/util.md')
-rw-r--r--doc/api/util.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/util.md b/doc/api/util.md
index 567ac5f752..d1b0167cfd 100644
--- a/doc/api/util.md
+++ b/doc/api/util.md
@@ -42,7 +42,7 @@ callbackFunction((err, ret) => {
Will print:
-```txt
+```text
hello world
```
@@ -93,7 +93,7 @@ debuglog('hello from foo [%d]', 123);
If this program is run with `NODE_DEBUG=foo` in the environment, then
it will output something like:
-```txt
+```console
FOO 3245: hello from foo [123]
```
@@ -112,7 +112,7 @@ debuglog('hi there, it\'s foo-bar [%d]', 2333);
if it is run with `NODE_DEBUG=foo*` in the environment, then it will output
something like:
-```txt
+```console
FOO-BAR 3257: hi there, it's foo-bar [2333]
```