Skip to content

Commit

Permalink
Replace skypack w/ esm.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm authored Apr 2, 2022
1 parent b0ff51d commit 8143c12
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]:
npm install react-markdown
```

In Deno with [Skypack][]:
In Deno with [`esm.sh`][esmsh]:

```js
import ReactMarkdown from 'https://cdn.skypack.dev/react-markdown@7?dts'
import ReactMarkdown from 'https://esm.sh/react-markdown@7'
```

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

```html
<script type="module">
import ReactMarkdown from 'https://cdn.skypack.dev/react-markdown@7?min'
import ReactMarkdown from 'https://esm.sh/react-markdown@7?bundle'
</script>
```

Expand Down Expand Up @@ -699,7 +699,7 @@ abide by its terms.

[npm]: https://docs.npmjs.com/cli/install

[skypack]: https://www.skypack.dev
[esmsh]: https://esm.sh

[health]: https://github.com/remarkjs/.github

Expand Down

0 comments on commit 8143c12

Please sign in to comment.