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