madmpro / madmpro-lexers

A package created to add additional lexers for use in Pygments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

madmpro-lexers

A package created to add additional lexers for use in Pygments.

Included Lexers

Lexers Description
bsl Simple lexer for Language 1C.

Adding New Lexers

To add a new lexer, the lexer must be dropped into the madmpro-lexers folder. The __init__.py file must be updated to expose the lexer. Lastly, setup.py must be modified to setup the entry points for the new lexer.

Install

$ git clone https://github.com/madmpro/madmpro-lexers.git
$ cd madmpro-lexers
$ (sudo) python setup.py install

Verify

Verify that the package installed correctly by looking for the lexer "bsl" in the output of

$ pygmentize -L lexers | grep bsl

Based on projects:

About

A package created to add additional lexers for use in Pygments.

License:MIT License


Languages

Language:Python 100.0%