It’s called PatternAnnotatedString, and it allows you to easily style dynamic text in Jetpack Compose - built on top of AnnotatedString.
I still have a few things to do before release, but please check it out! github.com/xavier-tobin...
The library respects the Compose lifecycle and only re-calculates styles if the text or annotations change.
The library respects the Compose lifecycle and only re-calculates styles if the text or annotations change.