doc: improve SIGINT error text

* add kbd elements
* correct period/parenthesis order
* make fragment a full sentence

PR-URL: https://github.com/nodejs/node/pull/35558
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
This commit is contained in:
Rich Trott authored and Myles Borins committed 2020-10-14 16:21:22 -04:00
1 parent 6ff152cc67
commit c865b02397
1 file changed
+2 -2
+2 -2
View File
@@ -1740,8 +1740,8 @@ An attempt was made to `require()` an [ES Module][].
<a id="ERR_SCRIPT_EXECUTION_INTERRUPTED"></a>
### `ERR_SCRIPT_EXECUTION_INTERRUPTED`
Script execution was interrupted by `SIGINT` (For example, when Ctrl+C was
pressed).
Script execution was interrupted by `SIGINT` (For example,
<kbd>Ctrl</kbd>+<kbd>C</kbd> was pressed.)
<a id="ERR_SCRIPT_EXECUTION_TIMEOUT"></a>
### `ERR_SCRIPT_EXECUTION_TIMEOUT`