File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 2424
2525Compared to ` react-markdown ` , this library offers:
2626
27- | Feature | ` @m2d/react-markdown ` ✅ | ` react-markdown ` ❌ |
28- | ----------------------------------- | ------------------------ | ------------------- |
29- | Full JSX support (not just strings) | ✅ | ❌ |
30- | SSR-safe (no hooks) | ✅ | ⚠️ (limited) |
31- | MDAST + HAST access via ` astRef ` | ✅ | ❌ |
32- | Component-level overrides | ✅ | ✅ |
33- | Unified plugin support | ✅ | ✅ |
34- | Tiny bundle (minzipped) | ** ~ 35 kB** | ~ 45 kB |
35- | Built-in DOCX-friendly AST output | ✅ | ❌ |
27+ | Feature | ` @m2d/react-markdown ` ✅ | ` react-markdown ` ❌ |
28+ | -------------------------------------- | ------------------------ | ------------------- |
29+ | Full JSX support (not just strings) | ✅ | ❌ |
30+ | SSR-safe (no hooks) | ✅ | ✅ |
31+ | Client Side component with memoization | ✅ | ❌ |
32+ | MDAST + HAST access via ` astRef ` | ✅ | ❌ |
33+ | Component-level overrides | ✅ | ✅ |
34+ | Unified plugin support | ✅ | ✅ |
35+ | Tiny bundle (minzipped) | ** ~ 35 kB** | ~ 45 kB |
36+ | Built-in DOCX-friendly AST output | ✅ | ❌ |
3637
3738---
3839
You can’t perform that action at this time.
0 commit comments