PHP code example of assertchris / better-markdown-editor

1. Go to this page and download the library: Download assertchris/better-markdown-editor 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/ */

    

assertchris / better-markdown-editor example snippets


return [
];

use AC\BetterMarkdownEditor\BetterMarkdownEditor;

BetterMarkdownEditor::make('markdown')
    // ...all the methods from the current MarkdownEditor
    // with the addition of some new methods
    ->hasLanguageAssistance(),
bash
php artisan vendor:publish --tag="better-markdown-editor-config"
bash
php artisan vendor:publish --tag="better-markdown-editor-views"