Sunday, 4th May, 2008
Syntax highlighter for python
The website also has Demo page which demonstrate the power of pygments library for highlighting syntax in several languages.
The following xml code is highlighted using pygments:
<addressbook>
<contact>
<name>Amaltas</name>
<phone>12345678</phone>
<address>123 abc street</address>
<email>amaltas@amaltas.org</email>
</contact>
<contact>
<name>Annie</name>
<phone>87654321</phone>
<address>890 xyz street</address>
<email></email>
</contact>
</addressbook>


Have your say