Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 610 Bytes

2-Configuration.md

File metadata and controls

26 lines (18 loc) · 610 Bytes

2. Configuration

<?php

return [

    /* -----------------------------------------------------------------
     |  Parsers
     | -----------------------------------------------------------------
     */

    'default' => 'commonmark',

    'parsers' => [
        'commonmark' => [
            'class' => Arcanedev\LaravelMarkdown\Parsers\CommonMarkParser::class,
        ],
    ],

];

The default parser is commonmark with Arcanedev\LaravelMarkdown\Parsers\CommonMarkParser class (check the league/commonmark package for more details).

You can create/extend your own parser if you want.