Skip to content

Commit c7dc44b

Browse files
committed
Refactor prose
1 parent e4b1c6e commit c7dc44b

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

readme.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
[![Backers][backers-badge]][collective]
99
[![Chat][chat-badge]][chat]
1010

11-
[**unist**][unist] utility with equivalents `querySelector`, `querySelectorAll`,
12-
and `matches`.
11+
[**unist**][unist] utility with equivalents for `querySelector`,
12+
`querySelectorAll`, and `matches`.
1313

1414
Note that the DOM has references to their parent nodes, meaning that
1515
`document.body.matches(':last-child')` can be evaluated.
@@ -72,8 +72,7 @@ console.log(
7272
Yields:
7373

7474
```js
75-
{ type: 'paragraph',
76-
children: [ { type: 'text', value: 'Delta' } ] }
75+
{type: 'paragraph', children: [{type: 'text', value: 'Delta'}]}
7776
```
7877

7978
### `select.selectAll(selector, tree)`
@@ -105,10 +104,10 @@ console.log(
105104
Yields:
106105

107106
```js
108-
[ { type: 'paragraph',
109-
children: [ { type: 'text', value: 'Delta' } ] },
110-
{ type: 'paragraph',
111-
children: [ { type: 'text', value: 'Foxtrot' } ] } ]
107+
[
108+
{type: 'paragraph', children: [{type: 'text', value: 'Delta'}]},
109+
{type: 'paragraph', children: [{type: 'text', value: 'Foxtrot'}]}
110+
]
112111
```
113112

114113
## Support
@@ -182,8 +181,8 @@ See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
182181
started.
183182
See [`support.md`][help] for ways to get help.
184183

185-
This project has a [Code of Conduct][coc].
186-
By interacting with this repository, organisation, or community you agree to
184+
This project has a [code of conduct][coc].
185+
By interacting with this repository, organization, or community you agree to
187186
abide by its terms.
188187

189188
## License

0 commit comments

Comments
 (0)