A PHP library for pretty printing source code
The class reads the code, adds syntax highlighting based on the defined programming language and pretty prints the code as HTML or LaTeX.
Luminous is modular in design, coming with separate parsers for each of the supported languages.
The library is also skinnable, so highlighting themes can be created and added to the core with ease.
- Supported languages:
- Backus Naur Form
- PHP Snippet
- Ruby on Rails
- Vim Script
- Visual Basic
In a hurry? Add it to your Download Basket!
What's New in This Release:
- License change: GPL to LGPL.
- Luminous has a composer package.
- SCSS scanner.
- Changes to markup/CSS.