Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

webuni/commonmark-bundle

Open more actions menu

Repository files navigation

CommonMark Bundle

Packagist Build Status Scrutinizer Code Quality SensioLabsInsight

Symfony bundle that integrates the league/commonmark markdown parser.

Installation

This project can be installed via Composer:

composer require webuni/commonmark-bundle

Add WebuniCommonMarkBundle to your application kernel

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Webuni\Bundle\CommonMarkBundle\WebuniCommonMarkBundle(),
        // ...
    );
}

Defined DI Tags

This bundle handles the following Dependency Injection Tags:

webuni_commonmark.extension: To add a implementation of League\CommonMark\Extension\ExtensionInterface to the default environment.

To add the CommonMark Table Extension add the following to your app/config/sculpin_services.yml:

# app/config/sculpin_services.yml
services:
    app.commonamrk_table_extension:
        class: Webuni\CommonMark\TableExtension\TableExtension
        tags:
            - name: webuni_commonmark.extension

About

Symfony bundle that integrates the league/commonmark markdown parser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.