You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> ✨ A modern, JSX-compatible, SSR-ready Markdown renderer for React — with full access to MDAST & HAST trees for tools like `mdast2docx`.
10
+
> ✨ A modern, SSR-compatibleMarkdown renderer for React with full MDAST/HAST access — built for **customization**, **performance**, and **document generation** - **docx/pdf**.
6
11
7
12
---
8
13
9
-
## 🔥 Why mdx-render?
14
+
## 🔥 Why `@m2d/react-markdown`?
10
15
11
-
`mdx-render` goes beyond traditional React Markdown libraries by focusing on:
16
+
`@m2d/react-markdown` goes beyond traditional React Markdown libraries by focusing on:
12
17
13
18
- ✅ **Server-side rendering (SSR)** without hooks
14
19
- ✅ **Full JSX children support** (not just strings)
@@ -17,9 +22,21 @@
17
22
- ✅ **Custom component overrides** per tag
18
23
- ✅ **Integration with tools like [`mdast2docx`](https://github.com/md2docx/mdast2docx)**
19
24
25
+
Compared to `react-markdown`, this library offers:
-[`unified`](https://unifiedjs.com/) – Syntax tree ecosystem
185
+
-[`react-markdown`](https://github.com/remarkjs/react-markdown) – Popular alternative (less customizable)
148
186
149
187
---
150
188
151
-
## License
189
+
## 📘 License
152
190
153
-
This library is licensed under the MPL-2.0 open-source license.
191
+
Licensed under the [MPL-2.0](https://www.mozilla.org/en-US/MPL/2.0/).
154
192
155
-
> <imgsrc="https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png"style="height: 20px"/> Please enroll in [our courses](https://mayank-chaudhari.vercel.app/courses) or [sponsor](https://github.com/sponsors/mayank1513) our work.
193
+
> 💡 Want to support this project? [Sponsor](https://github.com/sponsors/mayank1513) or check out our [courses](https://mayank-chaudhari.vercel.app/courses)!
156
194
157
195
---
158
196
159
-
<palign="center"style="text-align:center">with 💖 by <ahref="https://mayank-chaudhari.vercel.app"target="_blank">Mayank Kumar Chaudhari</a></p>
197
+
<palign="center"style="text-align:center">Built with ❤️ by <ahref="https://mayank-chaudhari.vercel.app"target="_blank">Mayank Kumar Chaudhari</a></p>
0 commit comments