> For the complete documentation index, see [llms.txt](https://docs.glue.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glue.ai/developers/graphql-api/message_formatting.md).

# Message formatting

Glue uses markdown to format messages. The following features are supported:

* Text styling
  * Bold
  * Italics
  * Strikethrough
* Links
* User mentions
* Inline code
* Code blocks
* Blockquotes
* Paragraphs
* Lists
  * Ordered
  * Unordered

These features are described in detail below.

## **Text Styling**

**Bold**

To make text bold, wrap it with two asterisks (`**`) or two underscores (`__`). For example:

```
**This is bold text**
__This is also bold text__
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FzsVcY8XuSLo2BQcZRMyt%2Fimage.png?alt=media&amp;token=925f45cb-f082-4161-9d71-81b5fb60c75a" alt=""><figcaption></figcaption></figure>

**Italics**

To italicize text, wrap it with one asterisk (`*`) or one underscore (`_`). For example:

```
*This is italic text*
_This is also italic text_
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FVJu2biNuUjdABaBR6YN1%2Fimage.png?alt=media&amp;token=41734d4b-b8e9-4a7a-9283-9c9a860450d6" alt=""><figcaption></figcaption></figure>

**Strikethrough**

To strikethrough text, wrap it with two tildes (`~~`). For example:

```
~~This text is strikethrough~~
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FOr8070pYZL91ElIpOBjQ%2Fimage.png?alt=media&amp;token=5e07da8f-4f17-4fb3-9ced-9f4b52dc06af" alt=""><figcaption></figcaption></figure>

**Bold and Italics Combined**

You can combine bold and italics for even more emphasis. For example:

```
***This is bold and italic text***
___This is also bold and italic text___
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FPmWUI8OqET8ehBFVHTqO%2Fimage.png?alt=media&amp;token=f97c21b8-2620-4293-bbbf-c5bf4510e3f9" alt=""><figcaption></figcaption></figure>

## **Links**

To create a hyperlink, use square brackets `[ ]` to set the text and parentheses `( )` to set the URL. For example:

```
[Glue](https://glue.ai)
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FU5AhE6oGsh23Tt9GcsIg%2Fimage.png?alt=media&amp;token=7e44e542-8058-48cb-9c15-e1aaa824880e" alt=""><figcaption></figcaption></figure>

**User Mentions**

To mention a user in our chat app, use the following format:

```
[Jason Yonker](glue:usr_2PtTG7GFSgcgwfpeDOBGEQtyB24)
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2Fqx54J1E0hlTOT0TndDp9%2Fimage.png?alt=media&amp;token=ac50562a-ed4f-49b5-bf26-be0555c43250" alt=""><figcaption></figcaption></figure>

## **Inline Code**

To include inline code, wrap your text with backticks (\`). For example:

```
Here is some inline code: `print("Hello, World!")`
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FtOCfrrabyAAonrdQ11Bl%2Fimage.png?alt=media&amp;token=ef6edbb9-b9d8-4fb8-929a-d15dfa8f6763" alt=""><figcaption></figcaption></figure>

## **Code Blocks**

For longer code snippets, use triple backticks (\`\`\`) before and after your code block. You can also specify the language for syntax highlighting. For example:

````
```python
for i in range(10):
    print(i)
```
````

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FNkMtHaQnzYHm5Qvy6NrN%2Fimage.png?alt=media&amp;token=12cb61aa-db7b-4ef3-a21f-8c0763aa004f" alt=""><figcaption></figcaption></figure>

## **Blockquotes**

To create a blockquote, use the greater than (`>`) symbol followed by a space. For example:

```
> This is a blockquote.
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FHfSmOaBJ7oyv584ygtBo%2Fimage.png?alt=media&amp;token=005137ff-4783-47fe-a858-8831689dd170" alt=""><figcaption></figcaption></figure>

## **Paragraphs**

To create paragraphs, simply separate your text with one or more blank lines. For example:

```
This is the first paragraph.

This is the second paragraph.
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FdSF0BlMY5UbZQVs16SUI%2Fimage.png?alt=media&amp;token=71fe58fa-c270-4216-b212-32f23170035b" alt=""><figcaption></figcaption></figure>

## **Lists**

**Unordered Lists**

To create an unordered list, use `-`, `*`, or `+` followed by a space. For example:

```
- Item 1
- Item 2
  - Subitem 1
  - Subitem 2
* Item 3
+ Item 4
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FMLnKSjtkEuwVg7NLUCuI%2Fimage.png?alt=media&amp;token=095aa828-70ff-49da-b43d-b7ae07fc3f4d" alt=""><figcaption></figcaption></figure>

**Ordered Lists**

To create an ordered list, use numbers followed by a period and a space. For example:

```
1. First item
2. Second item
   1. Subitem 1
   2. Subitem 2
3. Third item
```

Displays as:

<figure><img src="https://3065269144-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2RcaBgLNnK5MMFP9QKUF%2Fuploads%2FzzGuppH1I9DXK5xgDsUt%2Fimage.png?alt=media&amp;token=23d413ba-bd0e-49d8-a1e9-3bbd0a318131" alt=""><figcaption></figcaption></figure>
