CopyMarkup Engine Block
v1.0.2Shows code with line numbers and a copy button.
Interactive Implementation
Click the copy button to copy the code.
bash
Properties API
All available props for this component.
Property | Type | Default | Description |
|---|---|---|---|
| code | string | required | The raw multi-line code script parameters or text payload layout tracking to render. |
| language | string | "bash" | Semantic identifier printed on the header layout toolbar representing target syntax tracks. |
| showLineNumbers | boolean | false | Injects sequential numeric column labels alongside the code string margins. |
| variant | "default" | "solid" | "default" | Adjusts structural density parameters, box canvas depth, and background border attributes. |