I'm working on a multiplatform project where I nee...
# multiplatform
z
I'm working on a multiplatform project where I need to display highlighted source code (as do IDEs, Github etc.). I want to support Android, Desktop and Web. My understanding is that a code highlighter written in Kotlin is my only option, unless I want to use different code highlighting libraries on each platform. Is my understanding correct (sorry, I'm new to Kotlin Multiplatform)? So far, the only library that I could find is Highlights, but I was wondering if you know of any other library with more features or supported languages out of the box?
s
As far as I can tell, your understanding is correct. About library availability, I am impressed that the Highlights library even exists. Looks like it has reached stable just last week and the devs are open to collaborations, in case there are features you would like to have included 🙂
👍 1