adiog/syntax-highlight-bundle
Composer 安装命令:
composer require adiog/syntax-highlight-bundle
包简介
Symfony Syntax Highlight Bundle
README 文档
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]
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-27