Skip to content

Commit

Permalink
7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 4, 2023
1 parent 2eb9192 commit c165c83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/rehype-dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rehype-dom",
"version": "6.0.1",
"version": "7.0.0",
"description": "unified processor to use browser APIs to parse and stringify HTML",
"license": "ISC",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions packages/rehype-dom/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ npm install rehype-dom
In Deno with [`esm.sh`][esmsh]:

```js
import {rehypeDom} from 'https://esm.sh/rehype-dom@6'
import {rehypeDom} from 'https://esm.sh/rehype-dom@7'
```

In browsers with [`esm.sh`][esmsh]:

```html
<script type="module">
import {rehypeDom} from 'https://esm.sh/rehype-dom@6?bundle'
import {rehypeDom} from 'https://esm.sh/rehype-dom@7?bundle'
</script>
```

Expand Down Expand Up @@ -113,7 +113,7 @@ Because both plugins are already used in `rehype`, that’s not possible.
To define options for them, you can instead pass options to `data`:

```js
import {rehypeDom} from 'https://esm.sh/rehype-dom@6?bundle'
import {rehypeDom} from 'https://esm.sh/rehype-dom@7?bundle'

const file = await rehypeDom()
.data('settings', {fragment: false})
Expand Down

0 comments on commit c165c83

Please sign in to comment.