We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<shiny-user-chat>
1 parent f6b92d8 commit 20efd91Copy full SHA for 20efd91
js/chat/chat.ts
@@ -188,9 +188,10 @@ class ChatMessage extends LightElement {
188
189
class ChatUserMessage extends LightElement {
190
@property() content = "...";
191
+ @property() content_type: ContentType | "semi-markdown" = "semi-markdown";
192
193
render(): ReturnType<LitElement["render"]> {
- return contentToHTML(this.content, "semi-markdown");
194
+ return contentToHTML(this.content, this.content_type);
195
}
196
197
0 commit comments