siezi / phile-syntax-highlight
Syntax Highlight Plugin for PhileCMS
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:phile-plugin
Requires
- geshi/geshi: ^1.0
- phile-cms/phile: ^1.10 || dev-develop
Requires (Dev)
- phpunit/phpunit: ^7.0
README
Syntax highlight source code.
1.1 Installation (composer)
"require": { "siezi/phile-syntax-highlight": "*" }
1.2 Installation (Download)
- download this plugin into
plugins/siezi/phileSyntaxHighlight
- install and include Geshi 1.0.x
2. Activation
After you have installed the plugin you need to activate it. Add the following line to your /config.php
file:
$config['plugins']['siezi\\phileSyntaxHighlight'] = ['active' => true];
3. Start
In the standard Phile installation use markdown fenced code blocks and specify a language:
```php
$foo = bar;
```
4. Config
See config.php
.