Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-10-10 01:49:08 +0300
committerRich Trott <rtrott@gmail.com>2019-10-11 08:15:58 +0300
commit81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (patch)
tree151d163358f029f8f686b595db2c565ddcff1070 /doc/api/inspector.md
parenta1e47d7603b1d0bf54c8aad027298e964b8c8af4 (diff)
doc: escape brackets not used as markdown reference links
These can turn into links if reference links are added to the document PR-URL: https://github.com/nodejs/node/pull/29809 Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/inspector.md')
-rw-r--r--doc/api/inspector.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/inspector.md b/doc/api/inspector.md
index 3205cce7148..a5407cad336 100644
--- a/doc/api/inspector.md
+++ b/doc/api/inspector.md
@@ -27,7 +27,7 @@ require('inspector').console.log('a message');
The inspector console does not have API parity with Node.js
console.
-## inspector.open([port[, host[, wait]]])
+## inspector.open(\[port\[, host\[, wait\]\]\])
* `port` {number} Port to listen on for inspector connections. Optional.
**Default:** what was specified on the CLI.
@@ -141,7 +141,7 @@ with an error. [`session.connect()`][] will need to be called to be able to send
messages again. Reconnected session will lose all inspector state, such as
enabled agents or configured breakpoints.
-### session.post(method[, params][, callback])
+### session.post(method\[, params\]\[, callback\])
<!-- YAML
added: v8.0.0
-->