This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
This package is abandoned and no longer maintained. No replacement package was suggested.

This bundle provides a commonmark formatter for the Sonata FormatterBundle.

dev-master / 0.x-dev 2020-04-23 15:20 UTC

This package is auto-updated.

Last update: 2020-08-29 19:31:42 UTC


Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Continuous Integration Code Coverage

This bundle provides a commonmark formatter for the Sonata FormatterBundle.


Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require core23/commonmark-formatter-bundle

Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Core23\CommonMarkFormatterBundle\Core23CommonMarkFormatterBundle::class => ['all' => true],

To use the new formatter, register the formatter in config/packages/sonata_formatter.yaml file of your project:

            service: core23_commonmark_formatter.formatter

Add markdown extensions

If you want to use some Github-Flavored Markdown extensions, you need download the extension and register it inside the config/services.yaml file of your project:

        tags: [ 'core23_commonmark_formatter.extension' ]