# Chat element can’t display markdown or html?

**URL:** <https://community.weweb.io/t/chat-element-can-t-display-markdown-or-html/20135>\
**Category:** How do I?\
**Created:** [October 8, 2025, 1:23pm UTC](https://community.weweb.io/t/chat-element-can-t-display-markdown-or-html/20135 "2025-10-08T13:23:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlainGioanni](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alaingioanni/32/3943_2.png) [@AlainGioanni](https://community.weweb.io/u/AlainGioanni)\
**Post date:** [October 8, 2025, 1:23pm UTC](https://community.weweb.io/t/chat-element-can-t-display-markdown-or-html/20135/1 "2025-10-08T13:23:17Z")

</div>

Seems that the new chat element can’t display markdown or html, so how can I use it to chat with an AI/LLM ?

---

<div class="post-metadata">

**Author:** ![AgentD](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/agentd/32/6331_2.png) [@AgentD](https://community.weweb.io/u/AgentD)\
**Post date:** [October 8, 2025, 2:09pm UTC](https://community.weweb.io/t/chat-element-can-t-display-markdown-or-html/20135/2 "2025-10-08T14:09:44Z")

</div>

Yes. You are right, it cannot display html or markdown. For LLM chat (add to your system prompt an instruction to the LLM that it must only output plain text and NO markdown or HTML whatsoever).

The chat bubles are simple “text area“ elements and all html/markdown are escaped by weweb by design. So for now, formatting is not possible. So try tweaking the output from your LLM.

---

<div class="post-metadata">

**Author:** ![Agustin\_Carozo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/agustin_carozo/32/13231_2.png) [@Agustin\_Carozo](https://community.weweb.io/u/Agustin_Carozo)\
**Post date:** [October 8, 2025, 5:54pm UTC](https://community.weweb.io/t/chat-element-can-t-display-markdown-or-html/20135/3 "2025-10-08T17:54:23Z")

</div>

Hi Alain, welcome back 👋

We are about to release a new chat element specifically for LLMs, so stay tuned 😉

---

<div class="post-metadata">

**Author:** ![Zaip-Ai](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/zaip-ai/32/15352_2.png) [@Zaip-Ai](https://community.weweb.io/u/Zaip-Ai)\
**Post date:** [October 13, 2025, 12:59pm UTC](https://community.weweb.io/t/chat-element-can-t-display-markdown-or-html/20135/4 "2025-10-13T12:59:45Z")

</div>

Great, but being able to enable text as HTML is very useful for dealing with line breaks. Any release date for this fix?

---

<div class="post-metadata">

**Author:** ![AlainGioanni](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alaingioanni/32/3943_2.png) [@AlainGioanni](https://community.weweb.io/u/AlainGioanni)\
**Post date:** [October 14, 2025, 8:50am UTC](https://community.weweb.io/t/chat-element-can-t-display-markdown-or-html/20135/5 "2025-10-14T08:50:28Z")

</div>

Great news ! do you have a date ? what will this new chat be able to render : markdown ? html ? components/widgets ? We realy need to render components (nice visualisation, form, action button…), not only text. Regards

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [October 15, 2025, 9:17am UTC](https://community.weweb.io/t/chat-element-can-t-display-markdown-or-html/20135/6 "2025-10-15T09:17:36Z")

</div>

Hi @AlainGioanni

Yep, you can enable markdown, the chat has been released: [AI Chat | Documentation](https://docs.weweb.io/elements/ai-chat.html)
