mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-23 06:27:57 +00:00
5.7 KiB
5.7 KiB
| id | title |
|---|---|
| markdown | Supported Markdown Syntax |
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.
Supported Markdown Syntax
Headings
| <div style = {{ width:'200px' }}> Heading | <div style = {{ width:'200px' }}> Format |
|---|---|
| H1 | # Heading |
| H2 | ## Heading |
| H3 | ### Heading |
| H4 | #### Heading |
| H5 | ##### Heading |
| H6 | ###### Heading |
Text Formatting
Bold
Format:
**Text**
Result:
Text
Italic
Format:
*Text*
Result:
Text
Bold and Italic
Format:
***Text***
Result:
Text
Strikethrough
Format:
~~Text~~
Result:
Text
Lists
Unordered Lists
Format:
- Item 1
- Item 2
- Nested Item 2.1
- Nested Item 2.2
Result:
- Item 1
- Item 2
- Nested Item 2.1
- Nested Item 2.2
Ordered Lists
Format:
1. First Item
2. Second Item
1. Nested Item 2.1
2. Nested Item 2.2
Result:
- First Item
- Second Item
- Nested Item 2.1
- Nested Item 2.2
Task Lists
Format:
- [x] Completed task
- [ ] Pending task
Result:
- Completed task
- Pending task
Code
Inlince Code
Format:
This is `inline code`.
Result:
This is inline code.
Code Block
Format:
\```javascript
const hello = "world";
console.log(hello);
\```
Note: Please remove \ from the syntax.
Result:
const hello = "world";
console.log(hello);
Block Quotes
Format:
> Single level quote
>> Nested quote
>>> Deep nested quote
Result:
Single level quote
Nested quote
Deep nested quote
Links and Images
Links
Image
Format:

Tables
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 |
Horizontal Rules
Format:
---
OR
___
OR
***
Result:
HTML Content
Format:
<div style="color: blue;">
Colored text
</div>
<table>
<tr>
<td>HTML Table</td>
</tr>
</table>
Result:
Colored text
| HTML Table |
Footnotes
Format:
Here's a sentence with a footnote[^1].
[^1]: This is the footnote.
Result:
Here's a sentence with a footnote1.
-
This is the footnote. ↩︎