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