# Text Formatting

***

{% hint style="info" %}
Each formatting can be combined with each other, this means that you can achieve, for example, red, bold, italic pulsing text.
{% endhint %}

<table><thead><tr><th width="306">Name</th><th>Usage</th></tr></thead><tbody><tr><td>Color red</td><td><code>~r~RED~s~</code></td></tr><tr><td>Color green</td><td><code>~g~GREEN~s~</code></td></tr><tr><td>Color blue</td><td><code>~b~BLUE~s~</code></td></tr><tr><td>Color dark blue</td><td><code>~f~DARK BLUE~s~</code></td></tr><tr><td>Color yellow</td><td><code>~y~YELLOW~s~</code></td></tr><tr><td>Color light grey</td><td><code>~c~LIGHT GREY~s~</code></td></tr><tr><td>Color grey</td><td><code>~t~GREY~s~</code></td></tr><tr><td>Color orange</td><td><code>~o~ORANGE~s~</code></td></tr><tr><td>Color purple</td><td><code>~p~PURPLE~s~</code></td></tr><tr><td>Color pink</td><td><code>~q~PINK~s~</code></td></tr><tr><td>Color dark grey</td><td><code>~m~DARK GREY~s~</code></td></tr><tr><td>Color black</td><td><code>~l~BLACK~s~</code></td></tr><tr><td>Color dark blue</td><td><code>~d~DARK BLUE~s~</code></td></tr><tr><td>New line</td><td><code>~n~IN NEW LINE</code></td></tr><tr><td>Italic text</td><td><code>~italic~ITALIC~s~</code></td></tr><tr><td>Pulsating text</td><td><code>~pulse~PULSATING~s~</code></td></tr><tr><td>Bold (weight 500)</td><td><code>~bold~BOLD~s~</code></td></tr><tr><td>Extra Bold (weight 700)</td><td><code>~extra-bold~EXTRA BOLD~s~</code></td></tr><tr><td>Close the formatting element</td><td><code>~s~</code> / <code>~h~</code></td></tr><tr><td>Key - <a href="https://docs.fivem.net/docs/game-references/controls/"><strong>*list of keys*</strong></a></td><td><code>~INPUT_CONTEXT~</code></td></tr></tbody></table>

{% hint style="info" %}
If you want to create your custom formatting, you can use the formatting with html code, e.g. `<span style="color:red">TEXT HERE</span>` or if you prefer to create built-in formatting and use it like the above e.g. `~r~TEXT HERE~s~`, go to **vms\_notifyv2/html/js.loads.js** and enter it into the `formatColors` function
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vames-store.com/assets/vms_notifyv2/guides/text-formatting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
