function codeBlock

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

Wraps the content inside a codeblock with no language

Type Parameters

C extends string

Parameters

content: C
The content to wrap