Preview environment

function italic

declare function italic<Content extends string>(content: Content): `_${Content}_`;

Formats the content into italic text.

Type Parameters

Content extends string

Parameters

content: Content
The content to wrap