From 43d361a0d642e117b5c8f7a2a22d818f0078b0df Mon Sep 17 00:00:00 2001 From: Claudio W Date: Sat, 6 Jul 2024 01:15:20 +0100 Subject: [PATCH 1/2] doc: remove the last
 tag

---
 doc/api/modules.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/api/modules.md b/doc/api/modules.md
index b772632d71256f..b67e6ba7e024b8 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -235,7 +235,7 @@ the `require.resolve()` function.
 Putting together all of the above, here is the high-level algorithm
 in pseudocode of what `require()` does:
 
-
+```
 require(X) from module at path Y
 1. If X is a core module,
    a. return the core module
@@ -347,7 +347,7 @@ RESOLVE_ESM_MATCH(MATCH)
 2. If the file at RESOLVED_PATH exists, load RESOLVED_PATH as its extension
    format. STOP
 3. THROW "not found"
-
+``` ## Caching From 5fd852947e9261d977ad960cf2b585f0b2742f07 Mon Sep 17 00:00:00 2001 From: Claudio W Date: Sat, 6 Jul 2024 01:48:16 +0100 Subject: [PATCH 2/2] Update doc/api/modules.md Co-authored-by: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> --- doc/api/modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/modules.md b/doc/api/modules.md index b67e6ba7e024b8..3ad4a75d460371 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -235,7 +235,7 @@ the `require.resolve()` function. Putting together all of the above, here is the high-level algorithm in pseudocode of what `require()` does: -``` +```text require(X) from module at path Y 1. If X is a core module, a. return the core module