Remove <div class="note"> which breaks formatting (#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>
0liver committed
Mar 8, 2023 at 18:05 UTC
15c9ca747183778dbd6bb39668152fdd21af532b
1 file changed
+3
-4
content/packages-and-modules/introduction-to-packages-and-modules/about-packages-and-modules.mdx
+3
-4
@@ -48,12 +48,11 @@ To be loaded by the Node.js `require()` function, a module must be one of the fo
48
* A folder with a `package.json` file containing a `"main"` field.
49
* A JavaScript file.
50
51
-<div class="note">
51
+<Note>
52
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.
54
56
-</div>
55
+</Note>
56
57
In the context of a Node program, the `module` is also the thing that
58
was loaded *from* a file. For example, in the following program: