From 3c84556654fb81d73a61b9d19bba3df6aac94e0e Mon Sep 17 00:00:00 2001 From: Maledong Date: Sun, 1 Sep 2019 11:07:24 +0800 Subject: 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 Reviewed-By: Trivikram Kamat --- doc/api/repl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/api/repl.md') 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 -- cgit v1.2.3