@@ -24,14 +24,14 @@ yarn add hast-util-to-dom
2424npm install hast-util-to-dom
2525```
2626
27- ## Usage
27+ ## Use
2828
2929This 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
7575Transform 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
109109started.
110110See [ ` 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
114114abide 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