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:
paroche 2019-10-21 19:31:43 -06:00 committed by GitHub
parent 00d3f99fe5
commit f430bea35c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: