Styling only part of text in text_area

Hello everyone, and thanks for the amazing work on Streamlit :slight_smile: I have an application where I dynamically generate strings with the click of a button. I start from a user prompt in the text area, and then the generated string gets appended to it.

I can do this multiple times. Is there a way to highlight in bold the generated part of the text only, in the text area?

You may not normally be able to do that in the text area widget, but if decide to write the text_area text to screen, you could probably repurpose this library.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.