You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
590 B
22 lines
590 B
6 years ago
|
To install the CodeIgniter Lexer to Pygments, run:
|
||
|
|
||
|
sudo python setup.py install
|
||
|
|
||
|
Confirm with
|
||
|
|
||
|
pygmentize -L
|
||
|
|
||
|
|
||
|
You should see in the lexer output:
|
||
|
|
||
|
* ci, codeigniter:
|
||
|
CodeIgniter (filenames *.html, *.css, *.php, *.xml, *.static)
|
||
|
|
||
|
You will need to run setup.py and install the cilexer package anytime after cilexer/cilexer.py is updated
|
||
|
|
||
|
NOTE: Depending on how you installed Sphinx and Pygments,
|
||
|
you may be installing to the wrong version.
|
||
|
If you need to install to a different version of python
|
||
|
specify its path when using setup.py, e.g.:
|
||
|
|
||
|
sudo /usr/bin/python2.5 setup.py install
|