Skip to content

Commit e25fcd7

Browse files
authored
Add hast-util-from-text to list of utilities
1 parent 194e498 commit e25fcd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,9 @@ The rest is sorted alphabetically based on content after `hast-util-`
403403
* [`hast-util-from-parse5`](https://github.com/syntax-tree/hast-util-from-parse5)
404404
— Transform Parse5’s AST to HAST
405405
* [`hast-util-from-string`](https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-from-string)
406-
— Set the plain-text value of a node
406+
— Set the plain-text value of a node (`textContent`)
407+
* [`hast-util-from-text`](https://github.com/syntax-tree/hast-util-from-text)
408+
— Set the plain-text value of a node (`innerText`)
407409
* [`hast-util-from-webparser`](https://github.com/Prettyhtml/prettyhtml/tree/master/packages/hast-util-from-webparser)
408410
— Transform Webparser’s AST to HAST
409411
* [`hast-util-has-property`](https://github.com/syntax-tree/hast-util-has-property)

0 commit comments

Comments
 (0)