The bot messages markup
You can use the markup to change the appearance of the chatbot messages in the chatwidget.
Bold & italics
You can use the *
symbol to mark the text:
- italics:
*Example*
— Example; - bold:
**Example**
— Example.
The selected element can be located in any part of a word of a sentence.
Delimiters
Depending on the styles, the horizontal line can appear like:
- Line break:
\n---\n
. - Word wrap:
\n
. - A line break converted into tag
<br/>
:\n\n
.
Lists
Bulleted list
For example, \n* apples \n* oranges \n* oranges
will look like:
- apples
- oranges
- oranges
Numbered list
For example, \n1. apples\n2. oranges \n3. pears
will look like:
- apples
- oranges
- oranges
Links
- A link.
For example, [link](https://just-ai.com/)
will look like this link.
- A quick answer.
A quick answer is a link. And after you click it, the text will be sent as if it was a text message from the user. Markup: [message text]
.
tip
To open the link in the new tab, use
<a href="https://just-ai.com" target="_blank">our website</a>
instead of [our website](https://just-ai.com/)
. This happens since regular link tags work in the chat widget work, and _blank
works correctly.caution
The links that start with
www
appear correctly if you put them like this //www.example.com/
.