Pygments!

Pygments is a syntax highlighting engine written in Python. I’ve been using it on this site for a while but previously the python script was stored and executed on an external server.

Not Anymore! As of this last week I have installed and setup Pygments locally.

What did this accomplish? Not too much. The syntax highlighting in my posts can now include a few extra features such as line numbers and code highlighting. But the main reason I explored this was out of curiosity. Also, it seemed to make sense using a python syntax highlighter to highlight all of the python code on my site!

You can see it in action right here

Read More