The only way would be to support CharSequence instead of textId, but the "Html" content won't work, until you create your own Spanned which is a CharSequence.
Feel free to add a StringExtension which creates a Spanned from a HtmlString. If we have a working StringExtension, than we could support String input
Hey. Sry but that is not as easy as it seams to be. The StringRes ist used with getText instead of getString to get a Spanned
https://github.com/ch4rl3x/HtmlText/blob/4fc1409214858134100178d54b8ea0b049ccc9bb/html-text/src/main/java/de/charlex/compose/HtmlText.kt#L116
The only way would be to support CharSequence instead of textId, but the "Html" content won't work, until you create your own Spanned which is a CharSequence.
Feel free to add a StringExtension which creates a Spanned from a HtmlString. If we have a working StringExtension, than we could support String input