Message Templates

You can customize the Chat messages by using templates.

Attachments are not part of the message template. For more information, refer to the section on customizing message attachments.

Defining Message Templates

To customize the appearance of Chat messages, define a MessageTemplate .

Example
View Source
Edit In Stackblitz  
Change Theme:

Displaying Markdown Content

The following example demonstrates how to render Markdown by utilizing the marked library.

Example
View Source
Edit In Stackblitz  
Change Theme: