Syntax highlight source code.
"require": {
"siezi/phile-syntax-highlight": "*"
}
- download this plugin into
plugins/siezi/phileSyntaxHighlight
- install and include Geshi 1.0.x
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];
In the standard Phile installation use markdown fenced code blocks and specify a language:
```php
$foo = bar;
```
See config.php
.