PHP code example of fotobank / simplemde

1. Go to this page and download the library: Download fotobank/simplemde 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/ */

    

fotobank / simplemde example snippets



    'extensions' => [

        'simplemde' => [
        
            // Set to false if you want to disable this extension
            'enable' => true,
            
            // If you want to set an alias for the calling method
            //'alias' => 'markdown',
            
            // Editor configuration
            'config' => [
                
            ]
        ]
    ]


    'config' => [
        'autofocus'   => true,
        'placeholder' => 'xxxx',
        ....
    ]

$form->simplemde('content');

$form->simplemde('content')->height(500);

$form->markdown('content');
bash
php artisan vendor:publish --tag=laravel-admin-simplemde