Update article.md
Actually removing articles ("the"s). Rare! Usage was inconsistent from line to line -- some had "the node" and some just had "node". I'd say in this case, since `node` is formatted as code, it's intended to be an identifier (rather than a type of thing), so should stand alone. That is, if `node` **stands** for the node, don't use "the", but if 'node' just means "some node", do use "the node".
This commit is contained in:
parent
00d3f99fe5
commit
f430bea35c
1 changed files with 3 additions and 3 deletions
|
@ -93,9 +93,9 @@ Here's the full code:
|
|||
This set of methods provides more ways to insert:
|
||||
|
||||
- `node.append(...nodes or strings)` -- append nodes or strings at the end of `node`,
|
||||
- `node.prepend(...nodes or strings)` -- insert nodes or strings into the beginning of `node`,
|
||||
- `node.before(...nodes or strings)` –- insert nodes or strings before the `node`,
|
||||
- `node.after(...nodes or strings)` –- insert nodes or strings after the `node`,
|
||||
- `node.prepend(...nodes or strings)` -- insert nodes or strings at the beginning of `node`,
|
||||
- `node.before(...nodes or strings)` –- insert nodes or strings before `node`,
|
||||
- `node.after(...nodes or strings)` –- insert nodes or strings after `node`,
|
||||
- `node.replaceWith(...nodes or strings)` –- replaces `node` with the given nodes or strings.
|
||||
|
||||
Here's an example of using these methods to add items to a list and the text before/after it:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue