function codeBlock

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

Wraps the content inside a code block with no language.

Type Parameters

Content extends string

This is inferred by the supplied content

Parameters

content: Content
The content to wrap