https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
k

khairil.ushan

03/22/2024, 10:32 PM
Hey everyone, is there any Compose Markdown renderer library available out there? which also has support for iOS. I gave this (https://github.com/mikepenz/multiplatform-markdown-renderer) a try, but after including this library, I start having error when build/run the iOS app. The error is something like missing
androidx-annotation
.
j

John O'Reilly

03/23/2024, 8:02 AM
k

khairil.ushan

03/23/2024, 11:41 AM
Feeling déjà vu seeing you also reply it here, John. Thanks again! ❤️ I did fixed it based on that information, but interestingly initially I used version 0.13.0 of the markdown-renderer library which already use Compose 1.6.0 and based on above information it should fix the missing dependencies library. So was quite confusing. Then I decided to downgrade to version 0.12.0 which still in Compose 1.5.x and it finally fixed... 🤷
j

John O'Reilly

03/23/2024, 12:03 PM
It's worth running gradle dependencies task to see what versions are being depended on
k

khairil.ushan

03/23/2024, 12:05 PM
Oh I skipped that part. Yeah will give it a try.
m

Mark Murphy

03/23/2024, 1:35 PM
FWIW, a JetC search also turned up https://github.com/halilozercan/compose-richtext/, where
richtext-commonmark
for Markdown is multiplatform.
❤️ 1
k

khairil.ushan

03/23/2024, 2:00 PM
Ah nice. Thanks @Mark Murphy , will check that one as well!
👍🏻 1
g

Garret Yoder

03/24/2024, 4:07 AM
I use https://github.com/MohamedRejeb/Compose-Rich-Editor for rendering HTML and it works very well, it also supports markdown
12 Views