compose-richtext
compose-richtext copied to clipboard
No compose previews and images are not supported?
- It seems like there are no Compose Previews when trying to use this Compose component (see screenshot)
- If we provide markdown with an image component in it ( https://www.markdownguide.org/basic-syntax/#images-1 ), it stops rendering early.

- I know this has been an issue for some time. Currently, I have really no idea what is causing this. I'm mostly suspicious of Commonmark library. I'll need to learn more about how Previews work in Compose to solve this error.
- Are you sure your app has Internet permission? Same URL work on the demo app for me.
@halilozercan I face the same issue regarding RemoteImage
and loading remote image. I test the same in the demo app and it works as expected. My project include Coil library as well but in version 2.0.0 to have access to the AsyncImage
composable. Maybe the two library version collapse.
- If we provide markdown with an image component in it ( https://www.markdownguide.org/basic-syntax/#images-1 ), it stops rendering early.
I'm facing the same issue in the demo app when you remove the title from the image markdown:

Is there any update yet on this issue?
Edit: Put up a pull request myself that fixed the issue.