https://github.com/schlaefer/philesyntaxhighlight
Syntax Highlight Plugin for PhileCMS
https://github.com/schlaefer/philesyntaxhighlight
philecms philecms-plugin
Last synced: 5 days ago
JSON representation
Syntax Highlight Plugin for PhileCMS
- Host: GitHub
- URL: https://github.com/schlaefer/philesyntaxhighlight
- Owner: Schlaefer
- License: mit
- Created: 2015-04-01T06:14:00.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T11:58:13.000Z (about 8 years ago)
- Last Synced: 2025-06-02T07:11:15.872Z (about 1 year ago)
- Topics: philecms, philecms-plugin
- Language: PHP
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Syntax Highlight Plugin for PhileCMS #
[](https://travis-ci.org/Schlaefer/phileSyntaxHighlight)
Syntax highlight source code.
[Project Home](https://github.com/Schlaefer/phileSyntaxHighlight)
## 1.1 Installation (composer)
```json
"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:
```php
$config['plugins']['siezi\\phileSyntaxHighlight'] = ['active' => true];
```
## 3. Start
In the standard Phile installation use [markdown fenced code blocks](https://help.github.com/articles/github-flavored-markdown/#fenced-code-blocks) and specify a language:
```php
$foo = bar;
```
### 4. Config
See `config.php`.