@@ -24,14 +24,14 @@ yarn add hast-util-to-dom
24
24
npm install hast-util-to-dom
25
25
```
26
26
27
- ## Usage
27
+ ## Use
28
28
29
29
This utility is intended for browser use!
30
30
31
31
``` js
32
- import toDOM from ' hast-util-to-dom' ;
32
+ import toDom from ' hast-util-to-dom' ;
33
33
34
- const el = toDOM ({
34
+ const el = toDom ({
35
35
type: ' element' ,
36
36
tagName: ' h1' ,
37
37
properties: {},
@@ -70,7 +70,7 @@ Buddy, that’s the web!
70
70
71
71
## API
72
72
73
- ### ` toDOM (node[, options])`
73
+ ### ` toDom (node[, options])`
74
74
75
75
Transform a [ ** hast** ] [ hast ] [ * tree* ] [ tree ] to a DOM tree.
76
76
@@ -109,8 +109,8 @@ See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
109
109
started.
110
110
See [ ` support.md ` ] [ support ] for ways to get help.
111
111
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
114
114
abide by its terms.
115
115
116
116
## License
@@ -141,7 +141,7 @@ abide by its terms.
141
141
142
142
[ collective ] : https://opencollective.com/unified
143
143
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
145
145
146
146
[ chat ] : https://spectrum.chat/unified/syntax-tree
147
147
0 commit comments