You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A copy button is loaded by default, to suppress the button, add the attribute: `copy="false"`.
95
+
96
+
Likewise, line numbers are displayed by default. To remove the numbers, add the attribute: `line-number="false`.
97
+
98
+
```php
99
+
<x-codecopy="false"line-numbers="false"language="shell":code="Command exit with error error code xyz...." />
100
+
```
101
+
102
+
<br/>
103
+
104
+
#### Text mark
105
+
106
+
When giving instructions or using technical words, highlight important information with the `<x-mark>` tag.
107
+
108
+
For example, when using:
109
+
110
+
```php
111
+
Run <x-mark>npm install<x-mark> to install all to install all dependencies.
112
+
```
113
+
114
+
The outcome is similar to:
115
+
116
+
Run `npm install` to install all to install all dependencies.
117
+
118
+
<br/>
119
+
120
+
#### Boxes
121
+
122
+
Sometimes it's crucial to highlight information such as a mandatory step or a compatibility issue. In these situations, situations, you should use the `<x-box attention>` tag, which will produce a yellow "attention" box.
123
+
124
+
For example:
125
+
126
+
```php
127
+
<x-boxattention>If you are using FooJS 1.0, you must configure bar=null before update.</x-box>
128
+
```
129
+
130
+
In addition, if you need to provide a friendly message, a tip, or extra information, you should use of the `<x-box info>` tag, which produces a blue info box.
131
+
132
+
```php
133
+
<x-boxinfo>Read more about supported formats <ahref="#formats">here</a>.</x-box>
134
+
```
135
+
136
+
<br/>
137
+
138
+
---
139
+
140
+
WireUI Doc runs on [Laravel](https://laravel.com) & [Livewire](https://laravel-livewire.com).
0 commit comments