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?