diff --git a/src/views/chat/components/Message/Text.vue b/src/views/chat/components/Message/Text.vue index 95f8f41824..c9f969b835 100644 --- a/src/views/chat/components/Message/Text.vue +++ b/src/views/chat/components/Message/Text.vue @@ -22,6 +22,7 @@ const { isMobile } = useBasicLayout() const textRef = ref() const mdi = new MarkdownIt({ + html: true, linkify: true, highlight(code, language) { const validLang = !!(language && hljs.getLanguage(language))