docs/versioned_docs/version-3.0.0-LTS/widgets/chat/markdown.md
In ToolJet, the Chat Component supports Markdown formatting for both responses and messages. This can be used enhance text formatting using Markdown syntax, making conversations more readable and structured.
| <div style = {{ width:'200px' }}> Heading </div> | <div style = {{ width:'200px' }}> Format </div> |
|---|---|
| H1 | # Heading |
| H2 | ## Heading |
| H3 | ### Heading |
| H4 | #### Heading |
| H5 | ##### Heading |
| H6 | ###### Heading |
Format:
**Text**
Result:
Text
</div> </div>Format:
*Text*
Result:
Text
</div> </div>Format:
***Text***
Result:
Text
</div> </div>Format:
~~Text~~
Result:
Text
Format:
- Item 1
- Item 2
- Nested Item 2.1
- Nested Item 2.2
Result:
Format:
1. First Item
2. Second Item
1. Nested Item 2.1
2. Nested Item 2.2
Result:
Format:
- [x] Completed task
- [ ] Pending task
Result:
Format:
This is `inline code`.
Result:
This is inline code.
Format:
\```javascript
const hello = "world";
console.log(hello);
\```
Note: Please remove \ from the syntax.
Result:
const hello = "world";
console.log(hello);
Format:
> Single level quote
>> Nested quote
>>> Deep nested quote
Result:
</div> </div>Single level quote
Nested quote
Deep nested quote
Format:
[Link Text](https://example.com)
Result:
</div> </div>Format:

Result:
</div> </div>Format:
| Header 1 | Header 2 |
|-----------|-----------|
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
Result:
| Header 1 | Header 2 |
|---|---|
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
Format:
---
OR
___
OR
***
Result:
Format:
<div style="color: blue;">
Colored text
</div>
<table>
<tr>
<td>HTML Table</td>
</tr>
</table>
Result:
<div style = {{ color: 'blue'}}> Colored text </div> <table> <tr> <td>HTML Table</td> </tr> </table> </div> </div>Format:
Here's a sentence with a footnote[^1].
[^1]: This is the footnote.
Result:
Here's a sentence with a footnote1.
</div> </div>This is the footnote. ↩