Skip to content

Commit aed00d7

Browse files
cjihrigMylesBorins
authored andcommitted
doc: add missing code formatting in vm.md
This commit adds missing code formatting in a few places in the vm module documentation. PR-URL: #31350 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 6534c6c commit aed00d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/vm.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ added: v10.6.0
106106

107107
* Returns: {Buffer}
108108

109-
Creates a code cache that can be used with the Script constructor's
110-
`cachedData` option. Returns a Buffer. This method may be called at any
109+
Creates a code cache that can be used with the `Script` constructor's
110+
`cachedData` option. Returns a `Buffer`. This method may be called at any
111111
time and any number of times.
112112

113113
```js
@@ -632,8 +632,8 @@ added: REPLACEME
632632
633633
* Returns: {Buffer}
634634
635-
Creates a code cache that can be used with the SourceTextModule constructor's
636-
`cachedData` option. Returns a Buffer. This method may be called any number
635+
Creates a code cache that can be used with the `SourceTextModule` constructor's
636+
`cachedData` option. Returns a `Buffer`. This method may be called any number
637637
of times before the module has been evaluated.
638638

639639
```js

0 commit comments

Comments
 (0)