Skip to content

Commit 93e6afb

Browse files
committed
fixup! fixup! fixup! doc: format doc/api/*.md with markdown formatter
1 parent 0d91b42 commit 93e6afb

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

doc/api/repl.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ The following special commands are supported by all REPL instances:
4545
`> .save ./file/to/save.js`
4646
* `.load`: Load a file into the current REPL session.
4747
`> .load ./file/to/load.js`
48-
* `.editor`: Enter editor mode (<kbd>Ctrl</kbd>+<kbd>D</kbd> to finish, <kbd>Ctrl</kbd>+<kbd>C</kbd> to cancel).
48+
* `.editor`: Enter editor mode (<kbd>Ctrl</kbd>+<kbd>D</kbd> to
49+
finish, <kbd>Ctrl</kbd>+<kbd>C</kbd> to cancel).
4950

5051
```console
5152
> .editor
@@ -68,8 +69,8 @@ The following key combinations in the REPL have these special effects:
6869
When pressed twice on a blank line, has the same effect as the `.exit`
6970
command.
7071
* <kbd>Ctrl</kbd>+<kbd>D</kbd>: Has the same effect as the `.exit` command.
71-
* <kbd>Tab</kbd>: When pressed on a blank line, displays global and local (scope)
72-
variables. When pressed while entering other input, displays relevant
72+
* <kbd>Tab</kbd>: When pressed on a blank line, displays global and local
73+
(scope) variables. When pressed while entering other input, displays relevant
7374
autocompletion options.
7475

7576
For key bindings related to the reverse-i-search, see [`reverse-i-search`][].
@@ -261,13 +262,14 @@ added:
261262
-->
262263

263264
The REPL supports bi-directional reverse-i-search similar to [ZSH][]. It is
264-
triggered with <kbd>Ctrl</kbd>+<kbd>R</kbd> to search backward and <kbd>Ctrl</kbd>+<kbd>S</kbd> to search
265-
forwards.
265+
triggered with <kbd>Ctrl</kbd>+<kbd>R</kbd> to search backward
266+
and <kbd>Ctrl</kbd>+<kbd>S</kbd> to search forwards.
266267

267268
Duplicated history entries will be skipped.
268269

269270
Entries are accepted as soon as any key is pressed that doesn't correspond
270-
with the reverse search. Cancelling is possible by pressing <kbd>Esc</kbd> or <kbd>Ctrl</kbd>+<kbd>C</kbd>.
271+
with the reverse search. Cancelling is possible by pressing <kbd>Esc</kbd>
272+
or <kbd>Ctrl</kbd>+<kbd>C</kbd>.
271273

272274
Changing the direction immediately searches for the next entry in the expected
273275
direction from the current position on.

0 commit comments

Comments
 (0)