Skip to content

Schlaefer/phileSyntaxHighlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syntax Highlight Plugin for PhileCMS

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.