# BOLD

## Introduction

The **BOLD** [function](https://docs.elentra.org/ejs/1.2/guide/internationalization/escl/concepts/functions) allows a portion of a [string](https://docs.elentra.org/ejs/1.2/guide/internationalization/escl/concepts/string-resources) to be formatted with bold text.  It accepts a single parameter for the string to be formatted.

## Usage

The **BOLD** function accepts a string and returns it wrapped in `<strong></strong>` HTML tags.  You may pass the identifier of another resource (such as a string, term, or variable), as its value will be resolved before executing the function.

## Example

In this example, `my_formatted_string` calls the **BOLD** [function](https://docs.elentra.org/ejs/1.2/guide/internationalization/escl/concepts/functions), passing in the resource identifier `my_string` as its argument.  Instead of a [string](https://docs.elentra.org/ejs/1.2/guide/internationalization/escl/concepts/string-resources) resource identifier, you may also pass a [term](https://docs.elentra.org/ejs/1.2/guide/internationalization/escl/concepts/terms) or [variable](https://docs.elentra.org/ejs/1.2/guide/internationalization/escl/concepts/variables) identifier.

{% code title="ESCL Input" %}

```javascript
my_string: `Hello, World!`,
my_formatted_string: `{ BOLD(my_string) }`
```

{% endcode %}

{% code title="ESCL Output" %}

```markup
<!-- my_formatted_string -->
<strong>Hello, World!</strong>
```

{% endcode %}
