function codeBlock

export declare function codeBlock<C extends string>(content: C): `\`\`\`\n${C}\n\`\`\``;

Wraps the content inside a code block with no language.

Type Parameters

C extends string

This is inferred by the supplied content

Parameters

content: C
The content to wrap