2017 © Pedro Peláez
 

library sculpin-commonmark-bundle

Sculpin league/commonmark bundle

image

bcremer/sculpin-commonmark-bundle

Sculpin league/commonmark bundle

  • Saturday, January 16, 2016
  • by bcremer
  • Repository
  • 5 Watchers
  • 3 Stars
  • 3,958 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

Sculpin CommonMark Bundle

Software License Latest Version, (*1)

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

Installation

  • Add the following to your sculpin.json file:
{
    "require": {
        "bcremer/sculpin-commonmark-bundle": "~0.5"
    }
}
  • Run sculpin update.
  • Add the bundle to your kernel app/SculpinKernel.php:
<?php

class SculpinKernel extends \Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel
{
    protected function getAdditionalSculpinBundles()
    {
        return array(
            'Bcremer\Sculpin\Bundle\CommonMarkBundle\SculpinCommonMarkBundle'
        );
    }
}

Extensibility

This bundle provides access to the low level component of the league/commonmark package. For more information about league/commonmark customization please see Advanced Usage & Customization and Community Extensions., (*3)

Defined services

This bundle defines the following services in the sculpin DI Container:, (*4)

  • sculpin_commonmark.environment
  • sculpin_commonmark.docparser
  • sculpin_commonmark.htmlrenderer
  • sculpin_commonmark.league_converter
  • sculpin_commonmark.converter
  • sculpin_commonmark.event.commonmark

Defined DI Tags

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

Example

To add the CommonMark Table Extension add the following to your app/config/sculpin_services.yml:, (*6)

# app/config/sculpin_services.yml
services:
    league.commonmark.tablextension:
          class: League\CommonMark\Extension\Table\TableExtension
          tags:
            - { name: sculpin_commonmark.extension }

License

The MIT License (MIT). Please see License File for more information., (*7)

The Versions

16/01 2016

dev-master

9999999-dev

Sculpin league/commonmark bundle

  Sources   Download

MIT

The Requires

 

by Benjamin Cremer

bundle markdown sculpin commonmark

16/01 2016

0.4.0

0.4.0.0

Sculpin league/commonmark bundle

  Sources   Download

MIT

The Requires

 

by Benjamin Cremer

bundle markdown sculpin commonmark

04/09 2015

0.3.0

0.3.0.0

Sculpin league/commonmark bundle

  Sources   Download

MIT

The Requires

 

by Benjamin Cremer

bundle markdown sculpin commonmark

13/04 2015

0.2.0

0.2.0.0

Sculpin league/commonmark bundle

  Sources   Download

MIT

The Requires

 

by Benjamin Cremer

bundle markdown sculpin commonmark

23/02 2015

0.1.0

0.1.0.0

Sculpin league/commonmark bundle

  Sources   Download

MIT

The Requires

 

by Benjamin Cremer

bundle markdown sculpin commonmark