ITALIC

Introduction

The ITALIC function allows a portion of a string to be formatted with italicized text. It accepts a single parameter for the string to be formatted.

Usage

The ITALIC function accepts a string and returns it wrapped in <em></em> 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 ITALIC 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: `{ ITALIC(my_string) }`
ESCL Output
<!-- my_formatted_string -->
<em>Hello, World!</em>

Last updated