From dba2ab75d96dd7b61986e290923484fee29e9da7 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Wed, 1 Jan 2020 17:44:16 +0100 Subject: 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 Reviewed-By: Anto Aravinth Reviewed-By: Beth Griggs Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Rich Trott --- doc/api/fs.md | 2 +- doc/api/http2.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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])` 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])` -- cgit v1.2.3