mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-29 10:50:23 +02:00
34 lines
846 B
PHP
34 lines
846 B
PHP
<?php
|
|
|
|
namespace Knplabs\Bundle\MarkdownBundle\Parser\Preset;
|
|
|
|
use Knplabs\Bundle\MarkdownBundle\Parser\MarkdownParser;
|
|
|
|
/**
|
|
* Light featured Markdown Parser
|
|
*/
|
|
class Light extends MarkdownParser
|
|
{
|
|
|
|
protected $features = array(
|
|
'header' => true,
|
|
'list' => true,
|
|
'horizontal_rule' => true,
|
|
'table' => false,
|
|
'foot_note' => false,
|
|
'fenced_code_block' => false,
|
|
'abbreviation' => false,
|
|
'definition_list' => false,
|
|
'inline_link' => true, // [link text](url "optional title")
|
|
'reference_link' => true, // [link text] [id]
|
|
'shortcut_link' => false, // [link text]
|
|
'html_block' => false,
|
|
'block_quote' => false,
|
|
'code_block' => false,
|
|
'auto_link' => true,
|
|
'auto_mailto' => false,
|
|
'entities' => false
|
|
);
|
|
|
|
}
|