codeBlock (2)

Wraps the content inside a codeblock with the specified language
declare function codeBlock<L extends string, C extends string>(language: L, content: C): `\`\`\`${L}\n${C}\`\`\``;
NameTypeOptionalDescription
languageLNo
The language for the codeblock
contentCNo
The content to wrap