Custom Components
Code Block - Custom Icon
Enabling custom icon in code blocks
#Custom Icon
Note
The default icon is detect using language or title name, but it can be override using icon="..." meta string.
Enabling custom icon in code blocks
#Code Example
Show custom icon using the icon="i<IconName>" meta tag.
```php title="example.blade.php" icon="iLaravel"
@php
echo "Hello, World!";
@endphp
```It must be showing an php icon, but because i passing icon="iLaravel" it will show laravel icon like this.
@php
echo "Hello, World!";
@endphp