Skip to content

Commit 65a598c

Browse files
committed
Add options to API signature in docs
1 parent ace5f7a commit 65a598c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* [Install](#install)
1818
* [Use](#use)
1919
* [API](#api)
20-
* [`fromDom(node)`](#fromdomnode)
20+
* [`fromDom(node, options?)`](#fromdomnode-options)
2121
* [Types](#types)
2222
* [Compatibility](#compatibility)
2323
* [Security](#security)
@@ -102,7 +102,7 @@ Now running `open example.html` prints the following to the console:
102102
This package exports the identifier `fromDom`.
103103
There is no default export.
104104

105-
### `fromDom(node)`
105+
### `fromDom(node, options?)`
106106

107107
Turn a DOM tree into a hast tree.
108108

0 commit comments

Comments
 (0)