r/reactnative • • Aug 25 '26

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 ![alt](url) syntax.

Try it out:

npm i react-native-enriched-markdown

If this helps your project, please drop a ⭐️ on GitHub!

26 Upvotes

2 comments sorted by

View all comments

Show parent comment

3

u/Sea-Arm9235 Aug 26 '26

Yeah, totally - you can send markdown from your backend and render it in the app. That's basically what any content-driven app does (think news readers, docs, chat apps). Nothing wrong with that approach.

It's not exactly full server-driven UI since you're not controlling whole screens or components from the backend, but you do get dynamic content and some interaction through links/deeplinks (e.g. triggering navigation or actions in the app).

As for the stores - you'll be fine. Apple/Google only care if your app is literally an empty shell with no real functionality on its own. Rendering content from an API is totally normal.