diff --git a/doc/api/esm.md b/doc/api/esm.md index 583f98c7a52699..c9cc4e88c7c2bb 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1808,7 +1808,7 @@ requires the full path to a module be provided to the loader. To enable the automatic extension resolution and importing from directories that include an index file use the `node` mode. -```bash +```console $ node index.mjs success! $ node index # Failure!