function spoiler

export declare function spoiler<C extends string>(content: C): `||${C}||`;

Formats the content into a spoiler.

Type Parameters

C extends string

This is inferred by the supplied content

Parameters

content: C
The content to wrap