Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

ramsey/sculpin-codeblock

Repository files navigation

Codeblock Bundle for Sculpin

This Sculpin bundle provides the Codeblock extension for Twig to Sculpin sites.

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.

Installation

Add ramsey/sculpin-codeblock as a requirement to your sculpin.json file and run sculpin install.

Then, add the bundle to your SculpinKernel. For example:

<?php
class SculpinKernel extends \Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel
{
    protected function getAdditionalSculpinBundles()
    {
        return array(
            'Ramsey\Sculpin\Bundle\CodeBlockBundle\RamseySculpinCodeBlockBundle',
        );
    }
}

For more information, see the Sculpin Configuration documentation.

TODO

  • Write tests for this package

About

A Sculpin bundle for using the ramsey/twig-codeblock extension for defining blocks of code for syntax highlighting (with Pygments) and more.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages