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
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
C | string | No | None |
Name | Type | Optional | Description |
---|---|---|---|
content | C | No | The content to wrap |