@@ -347,7 +347,7 @@ function myWriter(output) {
347347}
348348```
349349
350- ## Class: REPLServer
350+ ## Class: ` REPLServer `
351351<!-- YAML
352352added: v0.1.91
353353-->
@@ -357,7 +357,7 @@ added: v0.1.91
357357Instances of ` repl.REPLServer ` are created using the ` repl.start() ` method and
358358* should not* be created directly using the JavaScript ` new ` keyword.
359359
360- ### Event: 'exit'
360+ ### Event: ` 'exit' `
361361<!-- YAML
362362added: v0.7.7
363363-->
@@ -374,7 +374,7 @@ replServer.on('exit', () => {
374374});
375375```
376376
377- ### Event: 'reset'
377+ ### Event: ` 'reset' `
378378<!-- YAML
379379added: v0.11.0
380380-->
@@ -419,7 +419,7 @@ Clearing context...
419419>
420420```
421421
422- ### replServer.defineCommand(keyword, cmd)
422+ ### ` replServer.defineCommand(keyword, cmd) `
423423<!-- YAML
424424added: v0.3.0
425425-->
@@ -465,7 +465,7 @@ Hello, Node.js User!
465465Goodbye!
466466```
467467
468- ### replServer.displayPrompt(\ [ preserveCursor\] )
468+ ### ` replServer.displayPrompt([preserveCursor]) `
469469<!-- YAML
470470added: v0.1.91
471471-->
@@ -485,7 +485,7 @@ The `replServer.displayPrompt` method is primarily intended to be called from
485485within the action function for commands registered using the
486486` replServer.defineCommand() ` method.
487487
488- ### replServer.clearBufferedCommand()
488+ ### ` replServer.clearBufferedCommand() `
489489<!-- YAML
490490added: v9.0.0
491491-->
@@ -495,7 +495,7 @@ buffered but not yet executed. This method is primarily intended to be
495495called from within the action function for commands registered using the
496496` replServer.defineCommand() ` method.
497497
498- ### replServer.parseREPLKeyword(keyword\ [ , rest\] )
498+ ### ` replServer.parseREPLKeyword(keyword[, rest]) `
499499<!-- YAML
500500added: v0.8.9
501501deprecated: v9.0.0
@@ -510,7 +510,7 @@ deprecated: v9.0.0
510510An internal method used to parse and execute ` REPLServer ` keywords.
511511Returns ` true ` if ` keyword ` is a valid keyword, otherwise ` false ` .
512512
513- ### replServer.setupHistory(historyPath, callback)
513+ ### ` replServer.setupHistory(historyPath, callback) `
514514<!-- YAML
515515added: v11.10.0
516516-->
@@ -526,7 +526,7 @@ by default. However, this is not the case when creating a REPL
526526programmatically. Use this method to initialize a history log file when working
527527with REPL instances programmatically.
528528
529- ## repl.start(\ [ options\] )
529+ ## ` repl.start([options]) `
530530<!-- YAML
531531added: v0.1.91
532532changes:
0 commit comments