adiog / syntax-highlight-bundle
Symfony Syntax Highlight Bundle
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Language:CSS
Type:symfony-bundle
Requires
- php: >=5.3.3
- symfony/framework-bundle: >=2.1.0,<2.3
This package is not auto-updated.
Last update: 2024-09-23 13:47:19 UTC
README
#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]