Markdown support in Chat Control

1 Answer 45 Views
Chat (Conversational UI)
Euan
Top achievements
Rank 1
Iron
Euan asked on 10 Feb 2025, 03:52 PM

Hi,

Does the chat control support rendering messages that are in Markdown format? For Example:

**James Smith**

- Department: Development

- Role: Senior Developer

This should show James Smith in bold. If the chat control does not support this can you suggest any approaches to achive this?

Thanks,

Euan

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 11 Feb 2025, 11:09 AM

Hi Euan,

The Chat control displays the data that is passed inside its template. So in general Markdown support is not valid request for the Chat control. 

What I can suggest is using a Chat with ItemTemplateSelector: https://docs.telerik.com/devtools/maui/controls/chat/item-template-selector. Then inside the template add a control that supports markdown. This is the option I can suggest. I hope it will be of help.

I am afraid in Telerik MAUI suite we do not have a markdown support. We have the following logged for the processing library https://feedback.telerik.com/document-processing/1496085-wordsprocessing-add-support-for-markdown-format If the feature was available, you could use it in the Telerik RichTextEditor for import export documents with different formats. 

Regards,
Didi
Progress Telerik

Tags
Chat (Conversational UI)
Asked by
Euan
Top achievements
Rank 1
Iron
Answers by
Didi
Telerik team
Share this question
or