Skip to content

php-mod/pygments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7f52d37 · Oct 17, 2014

History

4 Commits
Oct 10, 2014
Oct 10, 2014
Oct 10, 2014
Oct 17, 2014
Oct 10, 2014

Repository files navigation

Pygments for PHP

PHP Server side syntax highlighter based on Pygments highlighter software.

Installation:

To use this plugin you need pygments in your server:

sudo apt-get python-pygments

That's all. Now you can download the plugin via Composer or as independent library and use it.

Usage

$code = file_get_contents("test.js");
echo Pygmentize::format($code, "js");

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages