2017 © Pedro Peláez
 

symfony-bundle commonmark-bundle

The table extension for CommonMark PHP implementation

image

webuni/commonmark-bundle

The table extension for CommonMark PHP implementation

  • Wednesday, April 27, 2016
  • by hason
  • Repository
  • 2 Watchers
  • 9 Stars
  • 13,816 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 5 Versions
  • 11 % Grown

The README.md

CommonMark Bundle

Packagist Build Status Scrutinizer Code Quality SensioLabsInsight, (*1)

Symfony bundle that integrates the league/commonmark markdown parser., (*2)

Installation

This project can be installed via Composer:, (*3)

composer require webuni/commonmark-bundle

Add WebuniCommonMarkBundle to your application kernel, (*4)

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

Defined DI Tags

This bundle handles the following Dependency Injection Tags:, (*5)

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:, (*6)

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

The Versions