Skip to content

Commit 86099a3

Browse files
committed
tools: avoid unnecessary escaping in markdown formatter
Update mdast-util-to-markdown to 1.2.4 which reduces unnecessary escaping of `_` and some other characters. Re-run markdown formatter. PR-URL: #40645 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 571e0b1 commit 86099a3

37 files changed

+442
-413
lines changed

BUILDING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ platforms. This is true regardless of entries in the table below.
121121

122122
[^1]: GCC 8 is not provided on the base platform. Users will
123123
need the
124-
[Toolchain test builds PPA](https://launchpad.net/\~ubuntu-toolchain-r/+archive/ubuntu/test?field.series\_filter=xenial)
124+
[Toolchain test builds PPA](https://launchpad.net/\~ubuntu-toolchain-r/+archive/ubuntu/test?field.series_filter=xenial)
125125
or similar to source a newer compiler.
126126

127127
[^2]: GCC 8 is not provided on the base platform. Users will
@@ -272,7 +272,7 @@ $ make -j4
272272

273273
The `-j4` option will cause `make` to run 4 simultaneous compilation jobs which
274274
may reduce build time. For more information, see the
275-
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html\_node/Parallel.html).
275+
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html).
276276

277277
The above requires that `python` resolves to a supported version of
278278
Python. See [Prerequisites](#prerequisites).

CHANGELOG.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
Select a Node.js version below to view the changelog history:
44

5-
* [Node.js 17](doc/changelogs/CHANGELOG\_V17.md) **Current**
6-
* [Node.js 16](doc/changelogs/CHANGELOG\_V16.md) **Long Term Support**
7-
* [Node.js 15](doc/changelogs/CHANGELOG\_V15.md) End-of-Life
8-
* [Node.js 14](doc/changelogs/CHANGELOG\_V14.md) Long Term Support
9-
* [Node.js 13](doc/changelogs/CHANGELOG\_V13.md) End-of-Life
10-
* [Node.js 12](doc/changelogs/CHANGELOG\_V12.md) Long Term Support
11-
* [Node.js 11](doc/changelogs/CHANGELOG\_V11.md) End-of-Life
12-
* [Node.js 10](doc/changelogs/CHANGELOG\_V10.md) End-of-Life
13-
* [Node.js 9](doc/changelogs/CHANGELOG\_V9.md) End-of-Life
14-
* [Node.js 8](doc/changelogs/CHANGELOG\_V8.md) End-of-Life
15-
* [Node.js 7](doc/changelogs/CHANGELOG\_V7.md) End-of-Life
16-
* [Node.js 6](doc/changelogs/CHANGELOG\_V6.md) End-of-Life
17-
* [Node.js 5](doc/changelogs/CHANGELOG\_V5.md) End-of-Life
18-
* [Node.js 4](doc/changelogs/CHANGELOG\_V4.md) End-of-Life
19-
* [io.js](doc/changelogs/CHANGELOG\_IOJS.md) End-of-Life
20-
* [Node.js 0.12](doc/changelogs/CHANGELOG\_V012.md) End-of-Life
21-
* [Node.js 0.10](doc/changelogs/CHANGELOG\_V010.md) End-of-Life
22-
* [Archive](doc/changelogs/CHANGELOG\_ARCHIVE.md)
5+
* [Node.js 17](doc/changelogs/CHANGELOG_V17.md) **Current**
6+
* [Node.js 16](doc/changelogs/CHANGELOG_V16.md) **Long Term Support**
7+
* [Node.js 15](doc/changelogs/CHANGELOG_V15.md) End-of-Life
8+
* [Node.js 14](doc/changelogs/CHANGELOG_V14.md) Long Term Support
9+
* [Node.js 13](doc/changelogs/CHANGELOG_V13.md) End-of-Life
10+
* [Node.js 12](doc/changelogs/CHANGELOG_V12.md) Long Term Support
11+
* [Node.js 11](doc/changelogs/CHANGELOG_V11.md) End-of-Life
12+
* [Node.js 10](doc/changelogs/CHANGELOG_V10.md) End-of-Life
13+
* [Node.js 9](doc/changelogs/CHANGELOG_V9.md) End-of-Life
14+
* [Node.js 8](doc/changelogs/CHANGELOG_V8.md) End-of-Life
15+
* [Node.js 7](doc/changelogs/CHANGELOG_V7.md) End-of-Life
16+
* [Node.js 6](doc/changelogs/CHANGELOG_V6.md) End-of-Life
17+
* [Node.js 5](doc/changelogs/CHANGELOG_V5.md) End-of-Life
18+
* [Node.js 4](doc/changelogs/CHANGELOG_V4.md) End-of-Life
19+
* [io.js](doc/changelogs/CHANGELOG_IOJS.md) End-of-Life
20+
* [Node.js 0.12](doc/changelogs/CHANGELOG_V012.md) End-of-Life
21+
* [Node.js 0.10](doc/changelogs/CHANGELOG_V010.md) End-of-Life
22+
* [Archive](doc/changelogs/CHANGELOG_ARCHIVE.md)
2323

2424
Please use the following table to find the changelog for a specific Node.js
2525
release.

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Code of Conduct
22

3-
* [Node.js Code of Conduct](https://github.com/nodejs/admin/blob/HEAD/CODE\_OF\_CONDUCT.md)
3+
* [Node.js Code of Conduct](https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md)
44
* [Node.js Moderation Policy](https://github.com/nodejs/admin/blob/HEAD/Moderation-Policy.md)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
## [Code of Conduct](./doc/guides/contributing/code-of-conduct.md)
99

1010
The Node.js project has a
11-
[Code of Conduct](https://github.com/nodejs/admin/blob/HEAD/CODE\_OF\_CONDUCT.md)
11+
[Code of Conduct](https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md)
1212
to which all contributors must adhere.
1313

1414
See [details on our policy on Code of Conduct](./doc/guides/contributing/code-of-conduct.md).

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ maintainers and should also be coordinated through the Node.js Ecosystem
2626
Security Team via [HackerOne](https://hackerone.com/nodejs-ecosystem).
2727

2828
Details regarding this process can be found in the
29-
[Security Working Group repository](https://github.com/nodejs/security-wg/blob/HEAD/processes/third\_party\_vuln\_process.md).
29+
[Security Working Group repository](https://github.com/nodejs/security-wg/blob/HEAD/processes/third_party_vuln_process.md).
3030

3131
Thank you for improving the security of Node.js and its ecosystem. Your efforts
3232
and responsible disclosure are greatly appreciated and will be acknowledged.

doc/api/child_process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ changes:
191191
Spawns a shell then executes the `command` within that shell, buffering any
192192
generated output. The `command` string passed to the exec function is processed
193193
directly by the shell and special characters (vary based on
194-
[shell](https://en.wikipedia.org/wiki/List\_of\_command-line\_interpreters))
194+
[shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters))
195195
need to be dealt with accordingly:
196196

197197
```js

doc/api/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
<hr class="line"/>
1212

1313
* [Assertion testing](assert.md)
14-
* [Asynchronous context tracking](async\_context.md)
15-
* [Async hooks](async\_hooks.md)
14+
* [Asynchronous context tracking](async_context.md)
15+
* [Async hooks](async_hooks.md)
1616
* [Buffer](buffer.md)
1717
* [C++ addons](addons.md)
1818
* [C/C++ addons with Node-API](n-api.md)
1919
* [C++ embedder API](embedding.md)
20-
* [Child processes](child\_process.md)
20+
* [Child processes](child_process.md)
2121
* [Cluster](cluster.md)
2222
* [Command-line options](cli.md)
2323
* [Console](console.md)
2424
* [Corepack](corepack.md)
2525
* [Crypto](crypto.md)
2626
* [Debugger](debugger.md)
2727
* [Deprecated APIs](deprecations.md)
28-
* [Diagnostics Channel](diagnostics\_channel.md)
28+
* [Diagnostics Channel](diagnostics_channel.md)
2929
* [DNS](dns.md)
3030
* [Domain](domain.md)
3131
* [Errors](errors.md)
@@ -44,7 +44,7 @@
4444
* [Net](net.md)
4545
* [OS](os.md)
4646
* [Path](path.md)
47-
* [Performance hooks](perf\_hooks.md)
47+
* [Performance hooks](perf_hooks.md)
4848
* [Policies](policy.md)
4949
* [Process](process.md)
5050
* [Punycode](punycode.md)
@@ -53,7 +53,7 @@
5353
* [REPL](repl.md)
5454
* [Report](report.md)
5555
* [Stream](stream.md)
56-
* [String decoder](string\_decoder.md)
56+
* [String decoder](string_decoder.md)
5757
* [Timers](timers.md)
5858
* [TLS/SSL](tls.md)
5959
* [Trace events](tracing.md)
@@ -66,7 +66,7 @@
6666
* [WASI](wasi.md)
6767
* [Web Crypto API](webcrypto.md)
6868
* [Web Streams API](webstreams.md)
69-
* [Worker threads](worker\_threads.md)
69+
* [Worker threads](worker_threads.md)
7070
* [Zlib](zlib.md)
7171

7272
<hr class="line"/>

doc/api/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ package may itself have dependencies, and in some cases, these may even collide
9999
or form cyclic dependencies.
100100

101101
Because Node.js looks up the `realpath` of any modules it loads (that is, it
102-
resolves symlinks) and then [looks for their dependencies in `node_modules` folders](#loading-from-node\_modules-folders),
102+
resolves symlinks) and then [looks for their dependencies in `node_modules` folders](#loading-from-node_modules-folders),
103103
this situation can be resolved with the following architecture:
104104

105105
* `/usr/lib/node/foo/1.2.3/`: Contents of the `foo` package, version 1.2.3.

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2661,7 +2661,7 @@ tarball.
26612661
that are no longer supported).
26622662
* `'Dubnium'` for the 10.x LTS line beginning with 10.13.0.
26632663
* `'Erbium'` for the 12.x LTS line beginning with 12.13.0.
2664-
For other LTS Release code names, see [Node.js Changelog Archive](https://github.com/nodejs/node/blob/HEAD/doc/changelogs/CHANGELOG\_ARCHIVE.md)
2664+
For other LTS Release code names, see [Node.js Changelog Archive](https://github.com/nodejs/node/blob/HEAD/doc/changelogs/CHANGELOG_ARCHIVE.md)
26652665
26662666
<!-- eslint-skip -->
26672667

doc/api/tls.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ For example:
10731073
```
10741074

10751075
See
1076-
[SSL\_CIPHER\_get\_name](https://www.openssl.org/docs/man1.1.1/man3/SSL\_CIPHER\_get\_name.html)
1076+
[SSL\_CIPHER\_get\_name](https://www.openssl.org/docs/man1.1.1/man3/SSL_CIPHER_get_name.html)
10771077
for more information.
10781078

10791079
### `tlsSocket.getEphemeralKeyInfo()`
@@ -1303,7 +1303,7 @@ added: v12.11.0
13031303
the client in the order of decreasing preference.
13041304

13051305
See
1306-
[SSL\_get\_shared\_sigalgs](https://www.openssl.org/docs/man1.1.1/man3/SSL\_get\_shared\_sigalgs.html)
1306+
[SSL\_get\_shared\_sigalgs](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_shared_sigalgs.html)
13071307
for more information.
13081308

13091309
### `tlsSocket.getTLSTicket()`
@@ -1767,7 +1767,7 @@ changes:
17671767
The list can contain digest algorithms (`SHA256`, `MD5` etc.), public key
17681768
algorithms (`RSA-PSS`, `ECDSA` etc.), combination of both (e.g
17691769
'RSA+SHA384') or TLS v1.3 scheme names (e.g. `rsa_pss_pss_sha512`).
1770-
See [OpenSSL man pages](https://www.openssl.org/docs/man1.1.1/man3/SSL\_CTX\_set1\_sigalgs\_list.html)
1770+
See [OpenSSL man pages](https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set1_sigalgs_list.html)
17711771
for more info.
17721772
* `ciphers` {string} Cipher suite specification, replacing the default. For
17731773
more information, see [modifying the default cipher suite][]. Permitted

0 commit comments

Comments
 (0)