Borrowed some more stuff from jhamrick for python and markdown