Skip to content

Commit cf38b43

Browse files
TrottMylesBorins
authored andcommitted
doc,querystring: use code markup/markdown in headers
Backport-PR-URL: #31108 PR-URL: #31086 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 7e71ddf commit cf38b43

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/api/querystring.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ query strings. It can be accessed using:
1313
const querystring = require('querystring');
1414
```
1515

16-
## querystring.decode()
16+
## `querystring.decode()`
1717
<!-- YAML
1818
added: v0.1.99
1919
-->
2020

2121
The `querystring.decode()` function is an alias for `querystring.parse()`.
2222

23-
## querystring.encode()
23+
## `querystring.encode()`
2424
<!-- YAML
2525
added: v0.1.99
2626
-->
2727

2828
The `querystring.encode()` function is an alias for `querystring.stringify()`.
2929

30-
## querystring.escape(str)
30+
## `querystring.escape(str)`
3131
<!-- YAML
3232
added: v0.1.25
3333
-->
@@ -43,7 +43,7 @@ generally not expected to be used directly. It is exported primarily to allow
4343
application code to provide a replacement percent-encoding implementation if
4444
necessary by assigning `querystring.escape` to an alternative function.
4545

46-
## querystring.parse(str\[, sep\[, eq\[, options\]\]\])
46+
## `querystring.parse(str[, sep[, eq[, options]]])`
4747
<!-- YAML
4848
added: v0.1.25
4949
changes:
@@ -99,7 +99,7 @@ querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null,
9999
{ decodeURIComponent: gbkDecodeURIComponent });
100100
```
101101

102-
## querystring.stringify(obj\[, sep\[, eq\[, options\]\]\])
102+
## `querystring.stringify(obj[, sep[, eq[, options]]])`
103103
<!-- YAML
104104
added: v0.1.25
105105
-->
@@ -140,7 +140,7 @@ querystring.stringify({ w: '中文', foo: 'bar' }, null, null,
140140
{ encodeURIComponent: gbkEncodeURIComponent });
141141
```
142142

143-
## querystring.unescape(str)
143+
## `querystring.unescape(str)`
144144
<!-- YAML
145145
added: v0.1.25
146146
-->

0 commit comments

Comments
 (0)