Skip to content

Commit d59cc23

Browse files
committed
chore: update
1 parent da42c01 commit d59cc23

2 files changed

Lines changed: 30 additions & 3 deletions

File tree

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# react-render-to-markdown
2+
3+
```tsx
4+
import { renderToMarkdownString } from 'react-render-to-markdown';
5+
6+
const markdown = renderToMarkdownString(<h1>Hello, World!</h1>);
7+
console.log(markdown); // # Hello, World!
8+
```
9+
10+
## Installation
11+
12+
```bash
13+
npm install react-render-to-markdown
14+
```
15+
16+
## Requirements
17+
18+
```json
19+
{
20+
"react": "^18.2.0",
21+
"react-reconciler": "^0.29.0"
22+
}
23+
```
24+
25+
## License
26+
27+
MIT License.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"peerDependencies": {
4343
"react": ">=18.2.0"
4444
},
45-
"keywords": [],
46-
"author": "",
47-
"license": "ISC"
45+
"keywords": ["react", "markdown", "renderer", "react-reconciler"],
46+
"author": "SoonIter <sooniter@gmail.com>",
47+
"license": "MIT"
4848
}

0 commit comments

Comments
 (0)