PHP code example of jackfumanchu / markdown-live-bundle

1. Go to this page and download the library: Download jackfumanchu/markdown-live-bundle 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/ */

    

jackfumanchu / markdown-live-bundle example snippets


use JackFuManchu\MarkdownLiveBundle\Field\MarkdownField;

public function configureFields(string $pageName): iterable
{
    yield MarkdownField::new('content');
}

use JackFuManchu\MarkdownLiveBundle\Form\Type\MarkdownType;

$builder->add('content', MarkdownType::class);