Skip to content

Commit b9bc318

Browse files
authored
Add hast-util-to-text to list of utilities
1 parent 6c6afb3 commit b9bc318

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
@@ -459,7 +459,9 @@ The rest is sorted alphabetically based on content after `hast-util-`
459459
* [`hast-util-to-snabbdom`](https://github.com/syntax-tree/hast-util-to-snabbdom)
460460
— Transform to a Snabbdom tree
461461
* [`hast-util-to-string`](https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-to-string)
462-
— Get the plain-text value of a node
462+
— Get the plain-text value of a node (`textContent`)
463+
* [`hast-util-to-text`](https://github.com/syntax-tree/hast-util-to-text)
464+
— Get the plain-text value of a node (`innerText`)
463465
* [`hast-util-transparent`](https://github.com/syntax-tree/hast-util-transparent)
464466
— Check if `node` is transparent content
465467
* [`hast-util-whitespace`](https://github.com/syntax-tree/hast-util-whitespace)

0 commit comments

Comments
 (0)