Skip to content

Commit fa0be0e

Browse files
committed
Add reference to hast-util-from-html
1 parent 3bd13d7 commit fa0be0e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

readme.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ The utility [`hast-util-to-parse5`][hast-util-to-parse5] does the inverse of
3838
this utility.
3939
It generates `parse5`s AST again.
4040

41-
The rehype plugin [`rehype-parse`][rehype-parse] wraps this utility with
42-
`parse5` to both parse HTML and generate hast from it at a higher-level (easier)
43-
abstraction.
41+
The utility [`hast-util-from-html`][hast-util-from-html] wraps this utility and
42+
`parse5` to both parse HTML and generate hast from it.
4443

4544
## Install
4645

@@ -305,6 +304,6 @@ abide by its terms.
305304

306305
[hast]: https://github.com/syntax-tree/hast
307306

308-
[node]: https://github.com/syntax-tree/hast#nodes
307+
[hast-util-from-html]: https://github.com/syntax-tree/hast-util-from-html
309308

310-
[rehype-parse]: https://github.com/rehypejs/rehype/tree/main/packages/rehype-parse
309+
[node]: https://github.com/syntax-tree/hast#nodes

0 commit comments

Comments
 (0)