PHP code example of jacksleight / bard-paragraph-style

1. Go to this page and download the library: Download jacksleight/bard-paragraph-style 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/ */

    

jacksleight / bard-paragraph-style example snippets


return [

    'styles' => [
        [
            'name'   => 'Introduction Paragraph',
            'ident'  => 'I',
            'class'  => 'intro',
            'button' => 'introduction',
            'cp_css' => 'font-size: 1.25em',
        ],
    ],

];
bash
php please vendor:publish --tag=bard-paragraph-style-config