PHP code example of sharemant / laravel-admin-ext-editormd

1. Go to this page and download the library: Download sharemant/laravel-admin-ext-editormd 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/ */

    

sharemant / laravel-admin-ext-editormd example snippets




// file: {Your_project}/config/admin.php

return [

        'extensions' => [

            'editormd' => [
        
                // Set to false if you want to disable this extension
                'enable' => true,
        
                // Set to true if you want to take advantage the screen length for your editormd instance.
                'wideMode' => false,
        
                // Set to true when the instance S' => '{onload: function() { alert("Hello!");}}'
            ]

    ]

];

$form->editormd('content');