Preview environment

function strikethrough

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

Formats the content into strike-through text.

Type Parameters

Content extends string

This is inferred by the supplied content

Parameters

content: Content
The content to wrap