◐ Shell
clean mode source ↗

doc: remove the last <pre> tag · nodejs/node@98d59aa

Original file line numberDiff line numberDiff line change

@@ -232,7 +232,7 @@ the `require.resolve()` function.

232232

Putting together all of the above, here is the high-level algorithm

233233

in pseudocode of what `require()` does:

234234
235-

<pre>

235+

```text

236236

require(X) from module at path Y

237237

1. If X is a core module,

238238

a. return the core module

@@ -335,7 +335,7 @@ RESOLVE_ESM_MATCH(MATCH)

335335

2. If the file at RESOLVED_PATH exists, load RESOLVED_PATH as its extension

336336

format. STOP

337337

3. THROW "not found"

338-

</pre>

338+

```

339339
340340

## Caching

341341