Skip to content

Commit 005a567

Browse files
committed
docs: add options
1 parent 6a1d0fe commit 005a567

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
@@ -60,12 +60,14 @@ const { ast, tokens } = parse(input);
6060
#### parse
6161

6262
```ts
63-
parse(html: string): ParseResult;
63+
parse(html: string, options?: Options): ParseResult;
6464
```
6565

6666
**Arguments**
6767

6868
- `html`: HTML string to parse.
69+
- `options (optional)`
70+
- `tokenAdapter`: The adapter option for changing tokens information.
6971

7072
**Returns**
7173

0 commit comments

Comments
 (0)