From 6de05ecf23c8de4e04af93a14a8d874b98a5d3f2 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 24 Dec 2019 14:54:39 -0800 Subject: [PATCH] doc,querystring: use code markup/markdown in headers Backport-PR-URL: https://github.com/nodejs/node/pull/31108 PR-URL: https://github.com/nodejs/node/pull/31086 Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater --- doc/api/querystring.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 383b162ee260b8..c7fafd23d955b8 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -13,21 +13,21 @@ query strings. It can be accessed using: const querystring = require('querystring'); ``` -## querystring.decode() +## `querystring.decode()` The `querystring.decode()` function is an alias for `querystring.parse()`. -## querystring.encode() +## `querystring.encode()` The `querystring.encode()` function is an alias for `querystring.stringify()`. -## querystring.escape(str) +## `querystring.escape(str)` @@ -43,7 +43,7 @@ generally not expected to be used directly. It is exported primarily to allow application code to provide a replacement percent-encoding implementation if necessary by assigning `querystring.escape` to an alternative function. -## querystring.parse(str\[, sep\[, eq\[, options\]\]\]) +## `querystring.parse(str[, sep[, eq[, options]]])` @@ -140,7 +140,7 @@ querystring.stringify({ w: '中文', foo: 'bar' }, null, null, { encodeURIComponent: gbkEncodeURIComponent }); ``` -## querystring.unescape(str) +## `querystring.unescape(str)`