A CommonMark-compliant Markdown renderer for React Native that uses native components instead of WebViews. Version 7.0.2 supports extended syntax (URL autolinking, typographer) via the underlying markdown-it library. Originally forked from react-native-markdown-renderer, it offers style customization, rule overrides, and debug tree printing. This is the replacement for react-native-markdown-renderer with many bug fixes and enhancements. Active development, with frequent releases.
npm install react-native-markdown-displayNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: renders a Markdown string using native components in a scrollable view.
Migrate to the new styling format documented in the library's README; see 'How to style stuff' section.
Pass custom markdownit prop with `typographer:false` if needed.
Use `rules` and `style` instead of custom `AstRenderer`.
Ensure children is a string literal or variable containing markdown text.
Customize `allowedImageHandlers` prop to include your URI schemes, or ensure images use one of the default schemes.
Ensure children is a non-empty string: `<Markdown>{'some text'}</Markdown>`.Use a single version of react-native; avoid linking duplicate copies.
Run `npm install react-native-markdown-display` and verify import: `import Markdown from 'react-native-markdown-display'`.
Only use compatible React Native Text style properties; review default styles as reference.