# Styles

<mark style="background-color:yellow;">Styles quickly replace parts of the text with something else</mark>, for example to create a combo of effects, typewriter actions and events, which would otherwise require you a lot of typing for recurring tags.

{% hint style="danger" %}
If you're using TMPro, please use Text Animator Styles and not TMPro ones for this, as the latter (TMPro's) can't recognize Text Animator tags and will result in them being added to the text.
{% endhint %}

***

Simply open the stylesheet scriptable object of your choice (you can create one in the Project Folder, via the Create menu -> Text Animator-> StyleSheet) and start adding/editing tags.

{% hint style="info" %}
You can have a Global stylesheet ( [Global Settings](/text-animator-unity/customization/global-settings.md) ) and also a local one.
{% endhint %}

![](/files/oaPVIrUrn4cjblFGi1Rc)

From the example above, whenever you write the style tag “`<style1>`” in the text, it will be replaced with “`<wave><play=5><rainb><shake>`” - and closing it with “`</style1>`” will be replaced with “`</wave></rainb></shake><?ended>`”.

{% hint style="info" %}
Styles tags are case insensitive (writing "\<style1>" and "\<Style1>" will produce the same result).
{% 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.febucci.com/text-animator-unity/customization/styles.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.
