Preview environment

function spoiler

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

Formats the content into spoiler text.

Type Parameters

Content extends string

Parameters

content: Content
The content to spoiler