function strikethrough

declare function strikethrough<C extends string>(content: C): `~~${C}~~`;

Formats the content into strike-through text

Type Parameters

C extends string

Parameters

content: C
The content to wrap