codeBlock
export declare function codeBlock<C extends string>(content: C): `\`\`\`\n${C}\n\`\`\``;
export declare function codeBlock<C extends string>(content: C): `\`\`\`\n${C}\n\`\`\``;
Wraps the content inside a code block with no language.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
C | string | No | This is inferred by the supplied content |
Name | Type | Optional | Description |
---|---|---|---|
content | C | No | The content to wrap |