mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-17 05:06:19 +02:00
3a5df3e04d
move configuration and create userland sundown parser fix namespace typo and wip add configuration for extensions and render flags for sundown turn scalar into boolean nodes add usage of defaultTrue and defaultFalse using two arraynode for sundown and 2 children for extensions and render flags feed configurations for extensions and render flags into DIC parameters add ext-sundown on suggests refactoring configuration fix config and remove dots from parameters wip wip try some approach with stof's help wip working but not changing when setting different default last touches set all configuration booleans default to false fix indentation of addDefaultsIfNotSet some love to travis, phpunit and vendor scripts mark tests as incomplete because the test tests special configuration of the underlaying library wrapped test against v2.0.5 silly typo defaultFales remove composer.lock update php version on composer.json add changes as per comments removing v from versions in travis address comments Fix no_html feature switching 2.2.* to dev-master remove 2.2.* stuff symfony frameworkbundle is not that far yet update readme and support config dump wip
28 lines
1.3 KiB
XML
28 lines
1.3 KiB
XML
<?xml version="1.0" ?>
|
|
|
|
<container xmlns="http://symfony.com/schema/dic/services"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
|
|
|
<services>
|
|
<service id="markdown.parser.min" class="Knp\Bundle\MarkdownBundle\Parser\Preset\Min" />
|
|
<service id="markdown.parser.light" class="Knp\Bundle\MarkdownBundle\Parser\Preset\Light" />
|
|
<service id="markdown.parser.medium" class="Knp\Bundle\MarkdownBundle\Parser\Preset\Medium" />
|
|
<service id="markdown.parser.max" class="Knp\Bundle\MarkdownBundle\Parser\Preset\Max" />
|
|
|
|
<service id="markdown.parser.sundown" public="false" class="Knp\Bundle\MarkdownBundle\Parser\SundownParser">
|
|
<argument type="service" id="markdown.sundown.base_parser"/>
|
|
</service>
|
|
|
|
<service id="markdown.sundown.base_parser" public="false" class="Sundown\Markdown">
|
|
<argument type="service" id="markdown.sundown.renderer"/>
|
|
<argument>%markdown.sundown.extensions%</argument>
|
|
</service>
|
|
|
|
<service id="markdown.sundown.renderer" public="false" class="Sundown\Render\HTML">
|
|
<argument>%markdown.sundown.render_flags%</argument>
|
|
</service>
|
|
</services>
|
|
|
|
</container>
|