diff options
author | Nick Schonning <nschonni@gmail.com> | 2019-10-10 01:49:08 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-11 08:15:58 +0300 |
commit | 81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (patch) | |
tree | 151d163358f029f8f686b595db2c565ddcff1070 /doc/api/timers.md | |
parent | a1e47d7603b1d0bf54c8aad027298e964b8c8af4 (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/timers.md')
-rw-r--r-- | doc/api/timers.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/timers.md b/doc/api/timers.md index a99dd1c41e6..646c0abd1cb 100644 --- a/doc/api/timers.md +++ b/doc/api/timers.md @@ -130,7 +130,7 @@ a certain period of time. When a timer's function is called varies depending on which method was used to create the timer and what other work the Node.js event loop is doing. -### setImmediate(callback[, ...args]) +### setImmediate(callback\[, ...args\]) <!-- YAML added: v0.9.1 --> @@ -172,7 +172,7 @@ async function timerExample() { timerExample(); ``` -### setInterval(callback, delay[, ...args]) +### setInterval(callback, delay\[, ...args\]) <!-- YAML added: v0.0.1 --> @@ -190,7 +190,7 @@ set to `1`. Non-integer delays are truncated to an integer. If `callback` is not a function, a [`TypeError`][] will be thrown. -### setTimeout(callback, delay[, ...args]) +### setTimeout(callback, delay\[, ...args\]) <!-- YAML added: v0.0.1 --> |