mirror of https://github.com/nodejs/node.git
doc: remove spaces inside code span elements
Applies MarkdownLint MD038 rule PR-URL: https://github.com/nodejs/node/pull/29329 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>pull/29809/head
parent
b41989d03a
commit
0d061e2d09
|
@ -43,7 +43,7 @@
|
|||
* Instances should use camelCase.
|
||||
* Denote methods with parentheses: `socket.end()` instead of `socket.end`.
|
||||
* Function arguments or object properties should use the following format:
|
||||
* ``` * `name` {type|type2} Optional description. **Default:** `value`. ```
|
||||
* ```* `name` {type|type2} Optional description. **Default:** `value`.```
|
||||
<!--lint disable maximum-line-length remark-lint-->
|
||||
* For example: <code>* `byteOffset` {integer} Index of first byte to expose. **Default:** `0`.</code>
|
||||
<!--lint enable maximum-line-length remark-lint-->
|
||||
|
|
|
@ -1458,7 +1458,7 @@ changes:
|
|||
* `value` {string|Buffer|Uint8Array|integer} What to search for.
|
||||
* `byteOffset` {integer} Where to begin searching in `buf`. If negative, then
|
||||
offset is calculated from the end of `buf`. **Default:**
|
||||
[`buf.length`][]` - 1`.
|
||||
[`buf.length`][] `- 1`.
|
||||
* `encoding` {string} If `value` is a string, this is the encoding used to
|
||||
determine the binary representation of the string that will be searched for in
|
||||
`buf`. **Default:** `'utf8'`.
|
||||
|
|
|
@ -440,7 +440,7 @@ check with the contributor to see if they intend to continue the work before
|
|||
checking if they would mind if you took it over (especially if it just has
|
||||
nits left). When doing so, it is courteous to give the original contributor
|
||||
credit for the work they started (either by preserving their name and email
|
||||
address in the commit log, or by using an `Author: ` meta-data tag in the
|
||||
address in the commit log, or by using an `Author:` meta-data tag in the
|
||||
commit.
|
||||
|
||||
### Approving a change
|
||||
|
|
|
@ -249,7 +249,7 @@ fs.readFile('test-file').then(
|
|||
### Flags
|
||||
|
||||
Some tests will require running Node.js with specific command line flags set. To
|
||||
accomplish this, add a `// Flags: ` comment in the preamble of the
|
||||
accomplish this, add a `// Flags:` comment in the preamble of the
|
||||
test followed by the flags. For example, to allow a test to require some of the
|
||||
`internal/*` modules, add the `--expose-internals` flag.
|
||||
A test that would require `internal/freelist` could start like this:
|
||||
|
|
Loading…
Reference in New Issue