Skip to content

Commit 0994e9e

Browse files
committed
Refactor prose
1 parent c77ea45 commit 0994e9e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

readme.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ yarn add hast-util-to-dom
2424
npm install hast-util-to-dom
2525
```
2626

27-
## Usage
27+
## Use
2828

2929
This utility is intended for browser use!
3030

3131
```js
32-
import toDOM from 'hast-util-to-dom';
32+
import toDom from 'hast-util-to-dom';
3333

34-
const el = toDOM({
34+
const el = toDom({
3535
type: 'element',
3636
tagName: 'h1',
3737
properties: {},
@@ -70,7 +70,7 @@ Buddy, that’s the web!
7070

7171
## API
7272

73-
### `toDOM(node[, options])`
73+
### `toDom(node[, options])`
7474

7575
Transform a [**hast**][hast] [*tree*][tree] to a DOM tree.
7676

@@ -109,8 +109,8 @@ See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
109109
started.
110110
See [`support.md`][support] for ways to get help.
111111

112-
This project has a [Code of Conduct][coc].
113-
By interacting with this repository, organisation, or community you agree to
112+
This project has a [code of conduct][coc].
113+
By interacting with this repository, organization, or community you agree to
114114
abide by its terms.
115115

116116
## License
@@ -141,7 +141,7 @@ abide by its terms.
141141

142142
[collective]: https://opencollective.com/unified
143143

144-
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
144+
[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg
145145

146146
[chat]: https://spectrum.chat/unified/syntax-tree
147147

0 commit comments

Comments
 (0)