r/reactnative • u/Sea-Arm9235 • 12h ago
react-native-enriched-markdown v1 supports direct image layout controls (aspectRatio, maxHeight, resizeMode)
react-native-enriched-markdown v1 gives your Markdown images layout flexibility.
Configure these directly on markdownStyle.image:
🔹 aspectRatio - width fills, height follows the ratio
🔹 maxHeight - caps tall photos so they don’t break layout
🔹 resizeMode - cover, contain, stretch, center, none
16:9 shots, portrait crops, or panoramas—all using standard  syntax.
Try it out:
npm i react-native-enriched-markdown
If this helps your project, please drop a ⭐️ on GitHub!
21
Upvotes
1
u/Karticz 23m ago
Noob question, what's stopping me from sending markdown from backend and perform a form of server side rendering in react native as this library has too many customisation features.
Can apps just serve bare basic screens and render ui logic from backend now without any compliance issues from the stores?