PHP code example of birdcar / markdown-filament
1. Go to this page and download the library: Download birdcar/markdown-filament library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
birdcar / markdown-filament example snippets
use Birdcar\Markdown\Filament\Forms\Components\BfmEditor;
BfmEditor::make('body')
->previewDebounce(300) // optional, default is 300ms
->columnSpanFull();
use Birdcar\Markdown\Filament\Tables\Columns\BfmTextColumn;
BfmTextColumn::make('body');
use Birdcar\Markdown\Filament\Infolists\Components\BfmTextEntry;
BfmTextEntry::make('body');
bash
php artisan vendor:publish --tag=bfm-filament-views