Function: Code()
Code(
__namedParameters):Element
Defined in: components/Code/Code.tsx:65
Source text in the monospace type role.
Entity = Structure. Use inline Code for a token or keyword inside prose,
and block for a multi-line snippet — the block is a bordered, scrollable
surface. Type comes from the code scale; there is no raw font vocabulary.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | CodeProps |
Returns
Element
Example
<Code>npx skills add ttoss/skills --skill fsl</Code>
<Code block>{generatedThemeSource}</Code>