Search...

codeBlock

declare function codeBlock<C extends string>(content: C): `\`\`\`\n${C}\n\`\`\``;
declare function codeBlock<C extends string>(content: C): `\`\`\`\n${C}\n\`\`\``;
Wraps the content inside a codeblock with no language
NameConstraintsOptionalDefaultDescription
CstringNoNone
NameTypeOptionalDescription
contentCNoThe content to wrap