siezi/phile-syntax-highlight

Syntax Highlight Plugin for PhileCMS

2.2.1 2018-03-23 11:53 UTC

This package is auto-updated.

Last update: 2024-11-29 04:30:31 UTC


README

Build Status

Syntax highlight source code.

Project Home

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.