Search...

spoiler

export declare function spoiler<C extends string>(content: C): `||${C}||`;
export declare function spoiler<C extends string>(content: C): `||${C}||`;
Formats the content into a spoiler.
NameConstraintsOptionalDefaultDescription
CstringNoThis is inferred by the supplied content
NameTypeOptionalDescription
contentCNoThe content to wrap