Skip to content

Commit 4729649

Browse files
cjihrigaduh95
authored andcommitted
doc: replace NOTEs that do not render properly
This commit removes two NOTEs that render properly in the GitHub web interface, but not on the Node.js docs website. PR-URL: #57484 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Xuguang Mei <meixuguang@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent a40ff1f commit 4729649

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

doc/api/cli.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -936,14 +936,10 @@ added: v23.10.0
936936

937937
> Stability: 1.0 - Early development
938938
939-
If present, Node.js will look for a
940-
configuration file at the specified path.
941-
Node.js will read the configuration file and apply the settings.
942-
The configuration file should be a JSON file
943-
with the following structure:
944-
945-
> \[!NOTE]
946-
> Replace `vX.Y.Z` in the `$schema` with the version of Node.js you are using.
939+
If present, Node.js will look for a configuration file at the specified path.
940+
Node.js will read the configuration file and apply the settings. The
941+
configuration file should be a JSON file with the following structure. `vX.Y.Z`
942+
in the `$schema` must be replaced with the version of Node.js you are using.
947943

948944
```json
949945
{

doc/api/typescript.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ but we recommend version 5.8 or newer with the following `tsconfig.json` setting
9191
}
9292
```
9393

94-
> \[!NOTE]
95-
> Use the `noEmit` option if you intend to only execute `*.ts` files, for example a build script.
96-
> You won't need this flag if you intend to distribute `*.js` files.
94+
Use the `noEmit` option if you intend to only execute `*.ts` files, for example
95+
a build script. You won't need this flag if you intend to distribute `*.js`
96+
files.
9797

9898
### Determining module system
9999

0 commit comments

Comments
 (0)