diff options
author | Rich Trott <rtrott@gmail.com> | 2019-12-25 01:54:39 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2020-01-03 18:21:56 +0300 |
commit | 125a59a0b03090011105867b96e5cb5071fdc94f (patch) | |
tree | caea1ad5e4b99582ba0f2a6f4137ba4199950d41 /doc | |
parent | f0bc62896aaee1e65bae7523e62189d822679ce8 (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')
-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 --> |