Skip to content

raindropdevs/RaindropSyntaxHighlightBundle

Repository files navigation

#SyntaxHighlightBundle

####This bundle includes Code Mirror js library for textarea code highlighting Documentation and examples are available at Code Mirror Official Website

See a basic usage here and code inclusion here

A twig highlighter mode is into roadmap.

===

INSTALLATION:

First add the dependency to your composer.json file:

"require": {
    ...
    "raindrop/syntax-highlight-bundle": "dev-master"
},

Then install the bundle with the command:

php composer.phar update

Enable the bundle in your application kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Raindrop\SyntaxHighlightBundle\RaindropSyntaxHighlightBundle(),
    );
}

Now install assets:

php app/console assets:install [--symlink]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages