I am making an app which is fetching data from openai. I want its response to show up in a rich text box. It shows up, however the response contains no headings or bullet points. I specifically told it to do so. It still doesnt work. Can somebody help how the text can be displayed in headings and bullet points?
Hi @aaravmittal23843yn, welcome to Thunkable!
Be sure to check out our posts about How to ask Great Questions v2.0 and our Community Guidelines as you get started.
Could you show us the blocks you’re using to set this up? We are happy to help take a look.
Hi Matt! This is my code.
This is the output I am receiving:
As you can see it is not formatted, when I specifically told it to. Can you help me?
As I understand
Any processing through blocks will loose rich text formatting.
It is to display static text. My guess
This is just how the component works with data called through an API–the only Rich Text options you can get and set for updating this text are the ones in the rich text blocks. So italicize, strikethrough, underline, line spacing, etc.
Here’s an example I just tested out with a weather API.
This will work in formatting the text.
Is there any Possibility to Do Text Foramtting in a Single Word or Selected Part of Sentence in this Component through Blocks?
Example:
Hello There, How can I Assist you Today?