New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adiog/syntax-highlight-bundle

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adiog/syntax-highlight-bundle

Symfony Syntax Highlight Bundle

symfony-bundle
Source
Packagist
Version
dev-master
Version published
Total downloads
23
Maintainers
1
Created
Source

#SyntaxHighlightBundle

The package encapsulates into Symfony/composer bundle following Syntax Highlighter

SyntaxHighlighter 
version 3.0.83 (July 02 2010)
http://alexgorbatchev.com/SyntaxHighlighter
JavaScript code syntax highlighter.
Copyright 2004-2010 Alex Gorbatchev.

INSTALLATION:

First add the dependency to your composer.json file:

"require": {
    ...
    "adiog/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 Adiog\SyntaxHighlightBundle\SyntaxHighlightBundle(),
    );
}

Now install assets:

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

Keywords

editor

FAQs

Package last updated on 28 Jun 2016

Related posts