spoiler

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