diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2020-01-01 19:44:16 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2020-01-06 14:59:12 +0300 |
commit | dba2ab75d96dd7b61986e290923484fee29e9da7 (patch) | |
tree | 2a2a224abfc1bd28658f05a787a4dba396b44c72 /doc/api | |
parent | cc44325eed9031e558a363bd2e3af3dd9e6df750 (diff) |
doc: use code markup/markdown in headers
This also allows us to remove backslash escaping for `[` and `]`
inside of header code, which makes the bare markdown more readable.
Refs: https://github.com/nodejs/node/pull/31086
PR-URL: https://github.com/nodejs/node/pull/31149
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/fs.md | 2 | ||||
-rw-r--r-- | doc/api/http2.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md index 4f2535d6c3b..82bb47a2116 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -5093,7 +5093,7 @@ changes: The `Promise` is resolved with the [`fs.Stats`][] object for the given `path`. -### `fsPromises.symlink(target, path\[, type\])` +### `fsPromises.symlink(target, path[, type])` <!-- YAML added: v10.0.0 --> diff --git a/doc/api/http2.md b/doc/api/http2.md index 347170878df..c81f94a2781 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -3233,7 +3233,7 @@ const server = http2.createServer((req, res) => { }); ``` -#### `response.setTimeout(msecs\[, callback\])` +#### `response.setTimeout(msecs[, callback])` <!-- YAML added: v8.4.0 --> |