macOS Support
June 25, 2026 ยท View on GitHub
react-native-enriched-markdown supports macOS via react-native-macos. The native layer shares code with iOS through a platform abstraction header (ENRMUIKit.h), with macOS-specific implementations for context menus, text selection, and clipboard handling.
The macOS implementation supports the same rendering elements as iOS โ CommonMark, GitHub Flavored Markdown (tables, task lists, strikethrough), images, code blocks, blockquotes, and all other supported elements. EnrichedMarkdownTextInput is also available on macOS with full support for inline styles, links, and the native context menu.
Known limitations
These will be addressed in upcoming releases:
- LaTeX math (both inline and block) is not available on macOS. The math engine (RaTeX) is distributed as a Swift Package, which requires
use_frameworks!in CocoaPods.react-native-macosdoes not currently supportuse_frameworks!due to circular dependencies betweenReact-CoreandReact-RCTText(microsoft/react-native-macos#1969). Math will be enabled once this upstream issue is resolved. - Tail fade-in animation falls back to instant reveal (no
CADisplayLinkon macOS) - VoiceOver accessibility is stubbed (pending
NSAccessibilityimplementation) - Font scale observation does not respond to system font size changes
selectionColoraffects only the selection background. The iOS-style caret + handle tinting isn't available on macOS, since AppKit'sNSTextViewdoesn't expose them viatintColor.
Example app
See the react-native-macos-example/ directory for a working example app.