Skip to content

Commit

Permalink
doc,querystring: use code markup/markdown in headers
Browse files Browse the repository at this point in the history
Backport-PR-URL: #31108
PR-URL: #31086
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Trott authored and MylesBorins committed Jan 8, 2020
1 parent 7e71ddf commit cf38b43
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/api/querystring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-->
Expand All @@ -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:
Expand Down Expand Up @@ -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
-->
Expand Down Expand Up @@ -140,7 +140,7 @@ querystring.stringify({ w: '中文', foo: 'bar' }, null, null,
{ encodeURIComponent: gbkEncodeURIComponent });
```

## querystring.unescape(str)
## `querystring.unescape(str)`
<!-- YAML
added: v0.1.25
-->
Expand Down

0 comments on commit cf38b43

Please sign in to comment.