# Markdown headers aren't interpreted in Chat

**URL:** https://meta.discourse.org/t/markdown-headers-arent-interpreted-in-chat/312000
**Category:** Support
**Tags:** chat, fixed
**Created:** [June 13, 2024, 10:16pm UTC](https://meta.discourse.org/t/markdown-headers-arent-interpreted-in-chat/312000 "2024-06-13T22:16:12Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![37Rb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/37rb/32/224158_2.png) [@37Rb](https://meta.discourse.org/u/37Rb)
#### Post date: [June 13, 2024, 10:16pm UTC](https://meta.discourse.org/t/markdown-headers-arent-interpreted-in-chat/312000/1 "2024-06-13T22:16:12Z")

</div>

The Chat window seems to interpret most markdown such as bold, italics, tables, lists, etc… but it doesn’t interpret headers. For example, if I post the following

```plaintext
### Hello

This is a test.

```

in a both topic and in a chat, it will render as a header in the topic but in the chat it will show the ### as 3 pound signs.

Is this intentional? Or a possible issue?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [June 13, 2024, 10:17pm UTC](https://meta.discourse.org/t/markdown-headers-arent-interpreted-in-chat/312000/2 "2024-06-13T22:17:22Z")

</div>

Hi, yes it’s intentional (we don’t think titles make sense in chat messages). You could make a feature request if you think that’s necessary.

---

<div class="post-metadata">

### Author: ![37Rb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/37rb/32/224158_2.png) [@37Rb](https://meta.discourse.org/u/37Rb)
#### Post date: [June 13, 2024, 10:21pm UTC](https://meta.discourse.org/t/markdown-headers-arent-interpreted-in-chat/312000/3 "2024-06-13T22:21:14Z")

</div>

Got it. Makes sense. I’m not sure if it’s necessary but it comes up when the Chatbot plugin is used in Chat. It sends raw post content from topics to the LLM and the LLM sends back markdown in the reply, sometimes including markdown headers. I wouldn’t normally type a header in a chat but the LLM does.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [July 13, 2024, 10:21pm UTC](https://meta.discourse.org/t/markdown-headers-arent-interpreted-in-chat/312000/4 "2024-07-13T22:21:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [November 4, 2024, 1:13pm UTC](https://meta.discourse.org/t/markdown-headers-arent-interpreted-in-chat/312000/5 "2024-11-04T13:13:10Z")

</div>

This is now supported in chat:

[https://github.com/discourse/discourse/commit/279fc846db1057dc9e3ee1674e3d909db1ee814a](https://github.com/discourse/discourse/commit/279fc846db1057dc9e3ee1674e3d909db1ee814a)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [November 4, 2024, 1:13pm UTC](https://meta.discourse.org/t/markdown-headers-arent-interpreted-in-chat/312000/6 "2024-11-04T13:13:15Z")

</div>



---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [November 7, 2024, 1:13pm UTC](https://meta.discourse.org/t/markdown-headers-arent-interpreted-in-chat/312000/7 "2024-11-07T13:13:42Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
