BOLD

Introduction

The BOLD function allows a portion of a string 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, passing in the resource identifier my_string as its argument. Instead of a string resource identifier, you may also pass a term or variable identifier.

ESCL Input
my_string: `Hello, World!`,
my_formatted_string: `{ BOLD(my_string) }`
ESCL Output
<!-- my_formatted_string -->
<strong>Hello, World!</strong>

Last updated