diff options
author | Rich Trott <rtrott@gmail.com> | 2019-12-25 01:54:39 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-12-27 08:39:30 +0300 |
commit | d592efe10acb04ae64fbc5b17cac518abc418b2b (patch) | |
tree | 3119d074085f313c01c8594125d1d9930308c280 /doc/api/querystring.md | |
parent | 1c33523032a72ed1e25ba4678a65d367e134f5e0 (diff) |
doc,querystring: use code markup/markdown in headers
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/querystring.md')
-rw-r--r-- | doc/api/querystring.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 383b162ee26..c7fafd23d95 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()` <!-- YAML added: v0.1.99 --> The `querystring.decode()` function is an alias for `querystring.parse()`. -## querystring.encode() +## `querystring.encode()` <!-- YAML added: v0.1.99 --> The `querystring.encode()` function is an alias for `querystring.stringify()`. -## querystring.escape(str) +## `querystring.escape(str)` <!-- YAML added: v0.1.25 --> @@ -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]]])` <!-- YAML added: v0.1.25 changes: @@ -99,7 +99,7 @@ querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null, { decodeURIComponent: gbkDecodeURIComponent }); ``` -## querystring.stringify(obj\[, sep\[, eq\[, options\]\]\]) +## `querystring.stringify(obj[, sep[, eq[, options]]])` <!-- YAML added: v0.1.25 --> @@ -140,7 +140,7 @@ querystring.stringify({ w: '中文', foo: 'bar' }, null, null, { encodeURIComponent: gbkEncodeURIComponent }); ``` -## querystring.unescape(str) +## `querystring.unescape(str)` <!-- YAML added: v0.1.25 --> |