Skip to content

Commit 918dc7b

Browse files
committed
docs: improve installation
1 parent fda7fa5 commit 918dc7b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

readme.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,19 @@ manually.
8989
If you instead want to use JavaScript and JSX *inside* markdown files, use
9090
[MDX][github-mdx].
9191

92-
## Install
92+
## Installation
9393

94-
This package is [ESM only][esm].
95-
In Node.js (version 16+), install with [npm][npm-install]:
94+
react-markdown is [ESM only][esm].
95+
You must use Node.js 16+, modern bundlers (Vite / webpack 5+), or any runtime that supports ECMAScript modules. [npm][npm-install]:
96+
97+
*Node.js (npm, pnpm, yarn)*
9698

9799
```sh
98100
npm install react-markdown
101+
# or
102+
pnpm add react-markdown
103+
# or
104+
yarn add react-markdown
99105
```
100106

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

0 commit comments

Comments
 (0)