summaryrefslogtreecommitdiff
path: root/doc/api/repl.md
diff options
context:
space:
mode:
authorMaledong <maledong_github@outlook.com>2019-09-01 11:07:24 +0800
committerRich Trott <rtrott@gmail.com>2019-09-03 14:21:34 -0700
commit3c84556654fb81d73a61b9d19bba3df6aac94e0e (patch)
tree5de605237404a21943a18c2bbb1726dd93a4ba4c /doc/api/repl.md
parent40060f4e42a9f2c79d14c704f4496320b18c0483 (diff)
downloadandroid-node-v8-3c84556654fb81d73a61b9d19bba3df6aac94e0e.tar.gz
android-node-v8-3c84556654fb81d73a61b9d19bba3df6aac94e0e.tar.bz2
android-node-v8-3c84556654fb81d73a61b9d19bba3df6aac94e0e.zip
doc: change the 'txt' to 'console' for a command
This is the document formation, because `node` is a command to be executed, we should reguard it as a command prompt instead of a command txt type. PR-URL: https://github.com/nodejs/node/pull/29389 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/repl.md')
-rw-r--r--doc/api/repl.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md
index 1edee77b09..b53c39dab2 100644
--- a/doc/api/repl.md
+++ b/doc/api/repl.md
@@ -439,7 +439,7 @@ replServer.defineCommand('saybye', function saybye() {
The new commands can then be used from within the REPL instance:
-```txt
+```console
> .sayhello Node.js User
Hello, Node.js User!
> .saybye