summaryrefslogtreecommitdiff
path: root/doc/api/async_hooks.md
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-10-09 18:49:08 -0400
committerRich Trott <rtrott@gmail.com>2019-10-10 22:15:58 -0700
commit81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (patch)
tree151d163358f029f8f686b595db2c565ddcff1070 /doc/api/async_hooks.md
parenta1e47d7603b1d0bf54c8aad027298e964b8c8af4 (diff)
downloadnode-new-81bc7b3ba5a37a5ad4de0f8798eb42e631d55617.tar.gz
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/async_hooks.md')
-rw-r--r--doc/api/async_hooks.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md
index 90ff343ae0..2d981652ef 100644
--- a/doc/api/async_hooks.md
+++ b/doc/api/async_hooks.md
@@ -615,7 +615,7 @@ asyncResource.asyncId();
asyncResource.triggerAsyncId();
```
-#### new AsyncResource(type[, options])
+#### new AsyncResource(type\[, options\])
* `type` {string} The type of async event.
* `options` {Object}
@@ -649,7 +649,7 @@ class DBQuery extends AsyncResource {
}
```
-#### asyncResource.runInAsyncScope(fn[, thisArg, ...args])
+#### asyncResource.runInAsyncScope(fn\[, thisArg, ...args\])
<!-- YAML
added: v9.6.0
-->