Search...

codeBlock

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