We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d0427 commit 98d59aaCopy full SHA for 98d59aa
doc/api/modules.md
@@ -232,7 +232,7 @@ the `require.resolve()` function.
232
Putting together all of the above, here is the high-level algorithm
233
in pseudocode of what `require()` does:
234
235
-<pre>
+```text
236
require(X) from module at path Y
237
1. If X is a core module,
238
a. return the core module
@@ -335,7 +335,7 @@ RESOLVE_ESM_MATCH(MATCH)
335
2. If the file at RESOLVED_PATH exists, load RESOLVED_PATH as its extension
336
format. STOP
337
3. THROW "not found"
338
-</pre>
+```
339
340
## Caching
341
0 commit comments