Skip to content

Commit 15c9ca7

Browse files
0livermonishcm
andauthored
Remove <div class="note"> which breaks formatting (npm#460)
* Remove <div class="note"> which broke formatting * Update about-packages-and-modules.mdx --------- Co-authored-by: Monish Chandra Mohan <23190045+monishcm@users.noreply.github.com>
1 parent 012ba80 commit 15c9ca7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,11 @@ To be loaded by the Node.js `require()` function, a module must be one of the fo
4848
* A folder with a `package.json` file containing a `"main"` field.
4949
* A JavaScript file.
5050

51-
<div class="note">
51+
<Note>
5252

53-
<span class="bold">**Note:** </span>
54-
Since modules are not required to have a `package.json` file, not all modules are packages. Only modules that have a `package.json` file are also packages.
53+
**Note:** Since modules are not required to have a `package.json` file, not all modules are packages. Only modules that have a `package.json` file are also packages.
5554

56-
</div>
55+
</Note>
5756

5857
In the context of a Node program, the `module` is also the thing that
5958
was loaded *from* a file. For example, in the following program:

0 commit comments

Comments
 (0)