# Text

The text shortcode allows you to insert a text with Bootstrap styles.

Try the following shortcode examples on your WordPress page and view the page to see it in action.

## Examples

{% code overflow="wrap" %}

```
[bsv-text]
```

{% endcode %}

{% code overflow="wrap" %}

```
[bsv-text color="danger" emphasis="italic"]
```

{% endcode %}

## Format

```
[bsv-text parameter="value" ...]
```

## Parameters

| Parameter | Description                                                                                                                                                                  | Default    |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| align     | <p>Text alignment</p><ul><li>start</li><li>center</li><li>end</li></ul>                                                                                                      | *no value* |
| bg        | <p>Background Bootstrap color:</p><ul><li>danger</li><li>dark</li><li>info</li><li>light</li><li>primary</li><li>secondary</li><li>success</li><li>warning</li></ul>         | *no value* |
| color     | <p>Text Bootstrap color:</p><ul><li>danger</li><li>dark</li><li>info</li><li>light</li><li>muted</li><li>primary</li><li>secondary</li><li>success</li><li>warning</li></ul> | *no value* |
| emphasis  | <p>Text decoration:</p><ul><li>italic</li><li>underline</li><li>strikethrough</li></ul>                                                                                      | *no value* |
| transform | <p>Text transformation:</p><ul><li>lowercase</li><li>uppercase</li><li>capitalize</li></ul>                                                                                  | *no value* |
| weight    | <p>Font weight:</p><ul><li>bold</li><li>bolder</li><li>normal</li><li>light</li><li>lighter</li></ul>                                                                        | *no value* |


---

# 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://lewe.gitbook.io/lewe-bootstrap-visuals/shortcodes/text.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.
