# Customizing text output

## Elevate plain text with Markdown

Our chatbot messages are now equipped with Markdown support, allowing for seamless plain text formatting to enhance the visual appeal and clarity of your conversations.

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fr0wSvLb8DUQ2T8uqW4YP%2Fmarkdown%20formatting%20full%20HD.gif?alt=media&#x26;token=edf27ba6-ab02-44f5-bed0-07396e987682" alt=""><figcaption><p>Use markdown on input to craft the output in chatbot bubbles.</p></figcaption></figure>

With this feature, you have the power to emphasize key points through **bold** or *italicized* text, create structured lists, format tables for organized data presentation, and even embed clickable links, images, or GIFs to enrich the user experience. Whether you're conveying information, adding a touch of style, or guiding users through a more interactive dialogue, our Markdown support ensures that your chatbot messages are not only informative but also visually engaging.

{% hint style="info" %}
**Wondering what Markdown is?** \
It's a simple markup language that allows you to format plain text. Here's a handy cheat sheet recommended by our linguists :point\_right: [Markdown Cheat Sheet](https://www.markdownguide.org/cheat-sheet/)! :point\_left: Make sure to add it to your bookmarks.
{% endhint %}

Elevate the communication experience with the flexibility and versatility that Markdown brings to plain text formatting in our chatbot messages:<br>

<details>

<summary><strong>Bold</strong> text</summary>

Just select the text and press CTRL + B!

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2F8NkW3qYluiZyYAVzCpq8%2FMSG%20node%20bold%20text.gif?alt=media&#x26;token=01c59780-0250-4ac8-879c-71482cb3a4af" alt="" data-size="original">

\
Or, using Markdown format, making text **bold** is achieved using double asterisks (\*\*). Simply wrap the desired text with these symbols to apply bold formatting.&#x20;

Here's a quick guide:

{% code title="Copy this exemple" %}

```
I want the following text to be **bold**.
```

{% endcode %}

## <img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FlfQXceyk2AZFxXKqYsbw%2Fmarkdown%20bold.gif?alt=media&#x26;token=551777a2-d5ba-478b-bcd8-59914cdd97eb" alt="" data-size="original">

</details>

<details>

<summary><em>Italic</em> text</summary>

Just select the text and press CTRL + I!

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2F7VjSm8XFInksrsH51wXi%2FMSG%20node%20italic%20text.gif?alt=media&#x26;token=e5599d19-c480-4f9d-a693-a38f4c3e7d2c" alt="" data-size="original">

\
Or, to apply *italic* formatting to text in Markdown, you can use single asterisks (\*). Simply enclose the desired text with these symbols to render it in italics.&#x20;

Here's a straightforward guide:

{% code title="Copy this example" overflow="wrap" %}

```
This text is normal, but *this text will appear italicized.*
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FSnozbSTdODTa8V42NCAD%2Fmarkdown%20italic.gif?alt=media&#x26;token=2d8b6439-1df6-491e-b318-808323290697" alt="" data-size="original">

</details>

<details>

<summary>Underscored text</summary>

Just select the text and press CTRL + U!

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FOJdeSfZgWE5gaMicxwOx%2FMSG%20node%20uderscore.gif?alt=media&#x26;token=06230359-b5a2-43d6-b91c-30bb2c5e1ce7" alt="" data-size="original">

</details>

<details>

<summary><del>Striketrough</del> text</summary>

Adding a ~~strikethrough~~ effect to text in Markdown is a straightforward process. To implement strikethrough formatting, use two tilde characters (\~\~) before and after the text you want to strike through.&#x20;

Here's a simple example:

{% code title="Example to copy" overflow="wrap" %}

```
~~This text will appear with a strikethrough.~~
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FQo5i0fizcYKDnUL2xzAa%2Fmarkdown%20striketrough.gif?alt=media&#x26;token=f884b014-9efa-4642-8134-1242a9d15e55" alt="" data-size="original">

</details>

<details>

<summary>Ordered list</summary>

Markdown makes it easy to organize content into **ordered lists**. Follow these simple steps to create a numbered list:

1. Start each list item with a number followed by a period (1., 2., 3., ...).
2. Leave a space after the period.
3. Write the text for each list item.

Here's an example:

{% code title="Example to copy" overflow="wrap" %}

```
My list:
1. First item
2. Second item
3. Third item
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FBoTaM5T6YKICl3QPsFUJ%2Fmarkdown%20ordered%20list.gif?alt=media&#x26;token=6cc281da-7c26-4c17-b9bc-9ff4fae4e9b1" alt="" data-size="original">

You can also create nested ordered lists by indenting **the nested list** items. \
For instance:

{% code title="Example to copy" overflow="wrap" %}

```
My list:
1. First item
   1. Nested item 1
   2. Nested item 2
2. Second item
3. Third item
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FfwB2bxpOef0sS3uiktyI%2Fmarkdown%20ordered%20list%20nested.gif?alt=media&#x26;token=ef932b2e-0d5f-4467-8283-0217bbbc8eb6" alt="" data-size="original">

</details>

<details>

<summary>Unordered list (bullet points)</summary>

Markdown provides a simple syntax for generating **unordered (bulleted) lists**. Follow these steps to create a list of items with bullet points:

* Start each list item with an asterisk (\*), plus sign (+), or a hyphen (-).
* Leave a space after the asterisk, plus sign, or hyphen.
* Write the text for each list item.

Here's an example using hyphens:

{% code title="Example to copy" overflow="wrap" %}

```
My list:
- First item
- Second item
- Third item
```

{% endcode %}

However, you can mix using an asterisk, a plus sign and a hyphen within a single list. The output will always be rendered as bullets:

{% code title="Example to copy" overflow="wrap" %}

```
My list:
- First item
+ Second item
* Third item
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FJi3JETNjph3e0WHTDKoU%2Fmarkdown%20bullets.gif?alt=media&#x26;token=a873b4e0-16a2-4b25-8ba1-f8027fbece3e" alt="" data-size="original">

To create **nested unordered lists**, indent the nested list items:

<pre data-title="Example to copy" data-overflow="wrap"><code><strong>My list:
</strong><strong>- First item
</strong>- Second item
- Third item
    - Nested item
    - Nestem item
</code></pre>

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FKKWOowjxAsUpB9OLTMcD%2Fmarkdown%20bullets%20nested.gif?alt=media&#x26;token=5a88c275-5f87-4e10-9283-322b82175346" alt="" data-size="original">

</details>

<details>

<summary>Checklist</summary>

Markdown allows you to create **checklists** easily. Follow these steps to include checklists in chatbot messages:

1. Use square brackets `[]` for an unchecked item and `[x]` for a checked item.
2. Place the brackets at the beginning of a line, followed by a space and the task description.

Here's an example of a simple checklist:

<pre data-title="Example to copy" data-overflow="wrap"><code><strong>- [ ] Task 1
</strong>- [x] Task 2 (completed)
- [ ] Task 3
</code></pre>

You can also nest checklists to create hierarchical structures:

{% code title="Example to copy" overflow="wrap" %}

```
- [ ] Main Task
  - [ ] Subtask 1
  - [x] Subtask 2 (completed)
    - [ ] Sub-subtask
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2F6oIf3zcHtpTYpPER8rUt%2Fmarkdown%20checklist.gif?alt=media&#x26;token=9522b2a5-a7bd-4eb5-ba57-c3e23290d625" alt="" data-size="original">

</details>

<details>

<summary>Clickable link</summary>

In Markdown, generating **clickable links** is a fundamental feature. Follow these steps to include hyperlinks in your text:

1. Surround the anchor text you want to link with square brackets \[].
2. Immediately follow the square brackets with the URL enclosed in parentheses ().

Here's a simple example:

{% code title="General format" overflow="wrap" %}

```
[Text you want to show in chat buble](https://www.examplehyperlink.com)
```

{% endcode %}

{% code title="Example to copy" %}

```
To learn more about Born Digital, click [here](https://borndigital.ai/)
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FSFZKgyFeHVUC1UMrlnh0%2Fmarkdown%20link.gif?alt=media&#x26;token=d3d90cfa-4834-4e9f-b5be-e017ec32d862" alt="" data-size="original">

What you might not know is, that you can add a title to your link for additional information when users hover over it. Insert the title inside double quotes:

{% code title="Example to copy" overflow="wrap" %}

```
To learn more about Born Digital, click [here](https://borndigital.ai/ "This will lead you to Born Digital website")
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FHH0vFRRYelM9lKe5CkPH%2Fhyperlink%20s%20n%C3%A1pov%C4%9Bdou%20on%20hover.gif?alt=media&#x26;token=8606abf3-970a-40cb-b890-e1af586b6841" alt="" data-size="original">

</details>

<details>

<summary>Embedded image/gif</summary>

Enhance the visual appeal of your chatbot messages by seamlessly incorporating **images or GIFs.** Follow these steps to insert multimedia elements:

1. Use an exclamation mark `!` to initiate the image syntax.
2. Enclose alternative text for accessibility within square brackets `[]`.
3. Follow the square brackets with the image or GIF URL enclosed in parentheses `()`.

Here's a basic example for an image:

{% code title="General format" overflow="wrap" %}

```
![Alt text](https://www.example.com/image.jpg)
```

{% endcode %}

{% code title="Example to copy" overflow="wrap" %}

```
![Here's a image of pikachu](https://www.postavy.cz/foto/pikachu-foto.jpg)
```

{% endcode %}

In the rendered output, the alt text will be displayed if the image cannot be loaded, and clicking on the image will open the specified URL.

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2F4TBEko016cYG4iytzIaa%2Fmarkdown%20image.gif?alt=media&#x26;token=543fcf5f-4f71-4811-b106-3717bf1e9038" alt="" data-size="original">

For a GIF:

{% code title="General format" overflow="wrap" %}

```
![Alt text](https://www.example.com/animation.gif)
```

{% endcode %}

<pre data-title="Example to copy" data-overflow="wrap"><code><strong>![Here's a cute pikachu gif](https://media2.giphy.com/media/YRWLoMugTT2zQbPnYd/200.gif)
</strong></code></pre>

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FQmpBCtZEXfpbJJAUtnvV%2Fmarkdwon%20gif.gif?alt=media&#x26;token=e06cdff6-9f12-4dc5-832f-d40d39768ee2" alt="" data-size="original">

:exclamation:**Ensure that the URLs point to the correct location of your images or GIFs.** Always copy and paste URLs of the image/gif itself (right click >> Copy image URL).

You can also include optional attributes, such as width and height, to control the size of the displayed media:

{% code title="General format" overflow="wrap" %}

```
![Alt text](https://www.example.com/image.jpg =300x200)
```

{% endcode %}

This sets the image dimensions to 300 pixels in width and 200 pixels in height.

</details>

<details>

<summary>Code block</summary>

To create **a code block** in Markdown, you can use backticks (\`) to enclose the code.&#x20;

Here's how you can do it:

#### Inline Code

For inline code, wrap your code with a single backtick on both sides:

<pre data-title="Example to copy" data-overflow="wrap"><code><strong>Here is some `inline code`.
</strong></code></pre>

In the rendered output, the text "inline code" will appear in a monospaced font.

####

#### Multi-Line Code Blocks

For multi-line code blocks, use triple backticks (\`\`\`) before and after the code block.&#x20;

{% code title="Example to copy" overflow="wrap" %}

````
```
a = "Hello world!"
print(a)
```
````

{% endcode %}

</details>

<details>

<summary>Table</summary>

Markdown provides a simple syntax for **creating tables.** Follow these steps to include tables in your chatbot messages:

1. Separate columns using vertical bars `|`.
2. Use hyphens `-` in the second line to denote the table's header row.
3. Separate each cell's content with vertical bars `|`.
4. Adjust the number of hyphens in the header row to match the number of columns.

Here's an example of a basic table:

{% code title="Example to copy" overflow="wrap" %}

```
| Header 1 | Header 2 | Header 3 |
| ---------|--------- | ---------|
| Content 1| Content 2| Content 3|
| Content 4| Content 5| Content 6|
```

{% endcode %}

You can also align the content within the cells by using colons `:`. For example, to centre-align text in the second column:

{% code title="Example to copy" overflow="wrap" %}

```
| Left-aligned | Center-aligned | Right-aligned |
| :----------- |:--------------:| -------------:|
| Content 1    | Content 2      | Content 3     |
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2F6mwyRWtVNxsjDdEQ5a8S%2Fmarkdown%20table.gif?alt=media&#x26;token=6a9f80c8-30cd-4a91-ba62-975367a0db6c" alt="" data-size="original">

<br>

</details>

<details>

<summary>Horizontal divider</summary>

Markdown allows you to insert **horizontal dividers** to visually separate sections of your content. Follow these steps to add a horizontal rule:

1. Use three hyphens `---`, three asterisks `***`, or three underscores `___`.

Here's a simple example using hyphens:

{% code title="Example to copy" overflow="wrap" %}

```
Here's the text that's gonna be above the divider.

---

And this is gonna be below the horizontal divider.
```

{% endcode %}

Feel free to choose any of the three options (`---`, `***`, or `___`) for horizontal dividers, depending on your preference.

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FQds6BC0ASjSrDmInKKF7%2Fmarkdown%20divider.gif?alt=media&#x26;token=2fa6fc48-e30a-4d3f-b0dd-420b5b3c2d15" alt="" data-size="original">

</details>

<details>

<summary>Footnote</summary>

Markdown supports the creation of footnotes to provide additional information or references. Follow these steps to include footnotes in your chatbot messages. This is useful for longer messages with several paragraphs of text:

1. Use a caret `[^]` followed by a unique identifier to mark the position for the footnote reference in the text.
2. At the end of your document or section, add the footnote content with the same identifier inside square brackets and a colon.

Here's an example:

{% code title="Example to copy" %}

```
This is a sentence with a footnote[^1].

[^1]: Here is the additional information or reference for the footnote.
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FY9rRxEr4ytizRGuuFxry%2Fmarkdown%20footnote.gif?alt=media&#x26;token=01d69fe2-baa2-4dbb-b4be-beabe4a83b43" alt="" data-size="original">

</details>

<details>

<summary>Emoji</summary>

In chatbot output, we support emojis as Unicode characters. Just copy them in the Text input window in MSG NODE.

{% code title="Example to copy" %}

```
Hello, I am your AI assistant! 😊
```

{% endcode %}

<img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2FaLr33zN1oUXBS2PUsC7q%2FMarkdown%20emoji.gif?alt=media&#x26;token=cbe56c7a-36f2-46ed-9338-1a8adfff0424" alt="" data-size="original">

Tip: Browse [Emojipedia](https://emojipedia.org/) the find the right smiley face that will brighten your chatbot's messages :heart\_eyes::robot::sparkles:<br>

</details>
