Skip to content

Commit

Permalink
docs: add options
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjuan committed Nov 17, 2024
1 parent 6a1d0fe commit 005a567
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ const { ast, tokens } = parse(input);
#### parse

```ts
parse(html: string): ParseResult;
parse(html: string, options?: Options): ParseResult;
```

**Arguments**

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

**Returns**

Expand Down

0 comments on commit 005a567

Please sign in to comment.