function spoiler

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

Wraps the content inside spoiler (hidden text)

Type Parameters

C extends string

Parameters

content: C
The content to wrap