Command Example
The command-example component provides a side-by-side display of an command (such as an installation bash command) and a quickstart command. It features interactive hover states and one-click copy functionality.
Usage
Use the [!command-example ...] component and provide the install and quickstart attributes.
[!command-example install="npm install -g mlld" quickstart="mlld quickstart"]
Preview
INSTALL
npm install -g mlldGIVE YOUR LLM
mlld quickstartAttributes
| Attribute | Description | Required |
|---|---|---|
install |
The installation command to display in the left box. | Yes |
quickstart |
The quickstart command to display in the right box. | Yes |